Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.851/2.851, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2568/1.271, allocations: 213.7 MB / 1.531 GB, free: 3.426 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01819/1.289, allocations: 9.916 MB / 1.54 GB, free: 9.488 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/1.291, allocations: 87.25 kB / 1.54 GB, free: 9.402 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/1.294, allocations: 0.8038 MB / 1.541 GB, free: 8.594 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008544/1.303, allocations: 2.926 MB / 1.544 GB, free: 5.656 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/1.307, allocations: 1.397 MB / 1.545 GB, free: 4.266 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006346/1.313, allocations: 4.067 MB / 1.549 GB, free: 192 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/1.315, allocations: 1.106 MB / 1.551 GB, free: 15.04 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/1.32, allocations: 1.861 MB / 1.552 GB, free: 13.18 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/1.323, allocations: 1.289 MB / 1.554 GB, free: 11.89 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004678/1.324, allocations: 144 kB / 1.554 GB, free: 11.75 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007344/1.331, allocations: 2.506 MB / 1.556 GB, free: 9.238 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/1.332, allocations: 0.6231 MB / 1.557 GB, free: 8.613 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/1.334, allocations: 0.8673 MB / 1.558 GB, free: 7.742 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006732/1.341, allocations: 3.014 MB / 1.561 GB, free: 4.719 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.341, allocations: 0 / 1.561 GB, free: 4.719 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.585e-06/1.341, allocations: 0 / 1.561 GB, free: 4.719 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.945e-05/1.341, allocations: 0 / 1.561 GB, free: 4.719 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003646/1.344, allocations: 1.941 MB / 1.562 GB, free: 2.719 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.344, allocations: 15.98 kB / 1.562 GB, free: 2.703 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/1.348, allocations: 498.5 kB / 1.563 GB, free: 2.215 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.35, allocations: 1.144 MB / 1.564 GB, free: 1.027 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/1.35, allocations: 82.14 kB / 1.564 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.35, allocations: 112 kB / 1.564 GB, free: 0.8359 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.352, allocations: 1.153 MB / 1.565 GB, free: 15.65 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.352, allocations: 7.938 kB / 1.565 GB, free: 15.64 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.353, allocations: 47.91 kB / 1.565 GB, free: 15.6 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.294e-05/1.353, allocations: 42.14 kB / 1.565 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.355, allocations: 1.07 MB / 1.567 GB, free: 14.48 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007036/1.362, allocations: 4.431 MB / 1.571 GB, free: 9.711 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/1.363, allocations: 0.7543 MB / 1.572 GB, free: 8.949 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/1.364, allocations: 462.7 kB / 1.572 GB, free: 8.496 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/1.364, allocations: 292.3 kB / 1.572 GB, free: 8.156 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.364, allocations: 47.55 kB / 1.572 GB, free: 8.102 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.785e-06/1.364, allocations: 0 / 1.572 GB, free: 8.102 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.006337/1.37, allocations: 2.862 MB / 1.575 GB, free: 5.152 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.371, allocations: 68.34 kB / 1.575 GB, free: 5.074 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.372, allocations: 0.9715 MB / 1.576 GB, free: 4.086 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/1.372, allocations: 49.64 kB / 1.576 GB, free: 4.031 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/1.373, allocations: 0.5443 MB / 1.577 GB, free: 3.48 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/1.373, allocations: 333.2 kB / 1.577 GB, free: 3.152 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/1.373, allocations: 158.6 kB / 1.577 GB, free: 2.992 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.373, allocations: 341.9 kB / 1.578 GB, free: 2.652 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/1.374, allocations: 337.8 kB / 1.578 GB, free: 2.32 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/1.375, allocations: 489.9 kB / 1.578 GB, free: 1.805 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/1.382, allocations: 3.039 MB / 1.581 GB, free: 14.68 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.382, allocations: 0 / 1.581 GB, free: 14.68 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001898/1.383, allocations: 1.024 MB / 1.582 GB, free: 13.64 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.383, allocations: 10.03 kB / 1.582 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.383, allocations: 4 kB / 1.582 GB, free: 13.63 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.383, allocations: 4 kB / 1.582 GB, free: 13.63 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/1.384, allocations: 187.7 kB / 1.582 GB, free: 13.45 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.384, allocations: 8 kB / 1.583 GB, free: 13.44 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.385, allocations: 27.92 kB / 1.583 GB, free: 13.41 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/1.386, allocations: 36 kB / 1.583 GB, free: 13.38 MB / 1.264 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009171/1.386, allocations: 377.7 kB / 1.583 GB, free: 13 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/1.387, allocations: 135.1 kB / 1.583 GB, free: 12.86 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/1.387, allocations: 148.3 kB / 1.583 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.387, allocations: 8 kB / 1.583 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/1.387, allocations: 4 kB / 1.583 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002104/1.389, allocations: 1.086 MB / 1.584 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006016/1.395, allocations: 3.059 MB / 1.587 GB, free: 8.309 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.395, allocations: 8 kB / 1.587 GB, free: 8.301 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/1.396, allocations: 163.7 kB / 1.587 GB, free: 8.141 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/1.397, allocations: 93.66 kB / 1.588 GB, free: 8.043 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.397, allocations: 28 kB / 1.588 GB, free: 8.016 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/1.4, allocations: 3.101 MB / 1.591 GB, free: 4.637 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/1.4, allocations: 11.94 kB / 1.591 GB, free: 4.625 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/1.403, allocations: 1.742 MB / 1.592 GB, free: 2.75 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/1.404, allocations: 316.4 kB / 1.593 GB, free: 2.422 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.404, allocations: 35.88 kB / 1.593 GB, free: 2.387 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/1.405, allocations: 41.84 kB / 1.593 GB, free: 2.348 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.405, allocations: 92.09 kB / 1.593 GB, free: 2.258 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/1.405, allocations: 47.98 kB / 1.593 GB, free: 2.211 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001069/1.406, allocations: 0.6956 MB / 1.593 GB, free: 1.508 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/1.406, allocations: 0 / 1.593 GB, free: 1.508 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001252/1.407, allocations: 368 kB / 1.594 GB, free: 1.148 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004595/1.408, allocations: 230.8 kB / 1.594 GB, free: 0.9141 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.409, allocations: 0.8199 MB / 1.595 GB, free: 92 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.409, allocations: 0 / 1.595 GB, free: 92 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.41, allocations: 0.6506 MB / 1.595 GB, free: 15.41 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.414, allocations: 0.9171 MB / 1.596 GB, free: 14.51 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/1.419, allocations: 2.877 MB / 1.599 GB, free: 11.48 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.42, allocations: 1.253 MB / 1.6 GB, free: 10.19 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.421, allocations: 99.44 kB / 1.6 GB, free: 10.09 MB / 1.279 GB Notification: Performance of SimCode: time 1.292e-06/1.421, allocations: 0 / 1.6 GB, free: 10.09 MB / 1.279 GB Notification: Performance of Templates: time 0.04238/1.463, allocations: 27.35 MB / 1.627 GB, free: 14.88 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.25955581999733]