Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001194/0.001194, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001632/0.001632, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.928/2.928, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [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.00186/0.00186, allocations: 74.59 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.296, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2113/0.5073, allocations: 194.6 MB / 1.543 GB, free: 5.062 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009154/0.5165, allocations: 5.787 MB / 1.549 GB, free: 15.27 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.5175, allocations: 55.56 kB / 1.549 GB, free: 15.21 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.519, allocations: 0.6098 MB / 1.549 GB, free: 14.6 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.5233, allocations: 1.949 MB / 1.551 GB, free: 12.64 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.5262, allocations: 1.245 MB / 1.552 GB, free: 11.41 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003835/0.53, allocations: 3.025 MB / 1.555 GB, free: 8.371 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.531, allocations: 0.7436 MB / 1.556 GB, free: 7.617 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.533, allocations: 1.316 MB / 1.557 GB, free: 6.297 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.5348, allocations: 0.9717 MB / 1.558 GB, free: 5.328 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.5349, allocations: 108 kB / 1.558 GB, free: 5.223 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.5374, allocations: 1.528 MB / 1.56 GB, free: 3.691 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004688/0.5379, allocations: 482.6 kB / 1.56 GB, free: 3.219 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006668/0.5386, allocations: 0.6573 MB / 1.561 GB, free: 2.559 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.5411, allocations: 2.145 MB / 1.563 GB, free: 416 kB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5411, allocations: 4 kB / 1.563 GB, free: 412 kB / 1.248 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5411, allocations: 0 / 1.563 GB, free: 412 kB / 1.248 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.5411, allocations: 4 kB / 1.563 GB, free: 408 kB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002383/0.5435, allocations: 1.466 MB / 1.564 GB, free: 14.89 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.5436, allocations: 8.031 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.5437, allocations: 151.2 kB / 1.565 GB, free: 14.73 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.5455, allocations: 319 kB / 1.565 GB, free: 14.41 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5469, allocations: 0.7799 MB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.547, allocations: 66 kB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5471, allocations: 84 kB / 1.566 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5486, allocations: 0.9052 MB / 1.567 GB, free: 12.55 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5486, allocations: 0 / 1.567 GB, free: 12.55 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.5487, allocations: 43.98 kB / 1.567 GB, free: 12.51 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.5488, allocations: 33.98 kB / 1.567 GB, free: 12.47 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5502, allocations: 0.8315 MB / 1.568 GB, free: 11.64 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.5554, allocations: 3.46 MB / 1.571 GB, free: 7.965 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.5561, allocations: 480.4 kB / 1.571 GB, free: 7.488 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.5566, allocations: 286 kB / 1.572 GB, free: 7.207 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5567, allocations: 24.41 kB / 1.572 GB, free: 7.184 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.5568, allocations: 43 kB / 1.572 GB, free: 7.129 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.5568, allocations: 0 / 1.572 GB, free: 7.129 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003578/0.5603, allocations: 1.699 MB / 1.573 GB, free: 5.391 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5604, allocations: 59.78 kB / 1.574 GB, free: 5.32 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.5614, allocations: 0.8097 MB / 1.574 GB, free: 4.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.5614, allocations: 41.7 kB / 1.574 GB, free: 4.453 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.5618, allocations: 480.3 kB / 1.575 GB, free: 3.98 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.5619, allocations: 186.4 kB / 1.575 GB, free: 3.797 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.5621, allocations: 114.3 kB / 1.575 GB, free: 3.68 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5623, allocations: 329.9 kB / 1.575 GB, free: 3.352 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.5627, allocations: 241.2 kB / 1.576 GB, free: 3.113 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.5632, allocations: 357.2 kB / 1.576 GB, free: 2.73 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.5667, allocations: 1.452 MB / 1.577 GB, free: 1.238 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5667, allocations: 0 / 1.577 GB, free: 1.238 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001282/0.568, allocations: 0.7836 MB / 1.578 GB, free: 452 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.568, allocations: 15.92 kB / 1.578 GB, free: 436 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.568, allocations: 4 kB / 1.578 GB, free: 432 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.5683, allocations: 93.88 kB / 1.578 GB, free: 332 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.5689, allocations: 151.8 kB / 1.578 GB, free: 180 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.572, allocations: 3.086 MB / 1.581 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.5727, allocations: 32.11 kB / 1.581 GB, free: 12.82 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.5727, allocations: 24 kB / 1.581 GB, free: 12.8 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000479/0.5732, allocations: 309.6 kB / 1.582 GB, free: 12.49 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5734, allocations: 95.44 kB / 1.582 GB, free: 12.39 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.5736, allocations: 100.7 kB / 1.582 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5736, allocations: 4 kB / 1.582 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5736, allocations: 0 / 1.582 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.5747, allocations: 0.8465 MB / 1.583 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.5776, allocations: 1.755 MB / 1.585 GB, free: 9.508 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5776, allocations: 4 kB / 1.585 GB, free: 9.504 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.5782, allocations: 136.2 kB / 1.585 GB, free: 9.371 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.5784, allocations: 60.81 kB / 1.585 GB, free: 9.309 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.5784, allocations: 16 kB / 1.585 GB, free: 9.293 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.5802, allocations: 1.694 MB / 1.586 GB, free: 7.484 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.5802, allocations: 7.938 kB / 1.586 GB, free: 7.477 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5818, allocations: 1.066 MB / 1.587 GB, free: 6.348 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.5822, allocations: 163.3 kB / 1.588 GB, free: 6.188 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5823, allocations: 15.98 kB / 1.588 GB, free: 6.172 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.5829, allocations: 28.61 kB / 1.588 GB, free: 6.145 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.583, allocations: 51.8 kB / 1.588 GB, free: 6.094 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.5831, allocations: 27.98 kB / 1.588 GB, free: 6.066 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007075/0.5838, allocations: 0.5615 MB / 1.588 GB, free: 5.512 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.5838, allocations: 0 / 1.588 GB, free: 5.512 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008027/0.5846, allocations: 280 kB / 1.589 GB, free: 5.238 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.5867, allocations: 1.691 MB / 1.59 GB, free: 3.473 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.588, allocations: 0.7722 MB / 1.591 GB, free: 2.68 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.588, allocations: 8 kB / 1.591 GB, free: 2.672 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.5886, allocations: 403.8 kB / 1.591 GB, free: 2.266 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.591, allocations: 0.6131 MB / 1.592 GB, free: 1.672 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/0.6008, allocations: 7.01 MB / 1.599 GB, free: 10.37 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.6016, allocations: 1.088 MB / 1.6 GB, free: 9.254 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006715/0.6023, allocations: 215.7 kB / 1.6 GB, free: 9.039 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.6028, allocations: 339.3 kB / 1.6 GB, free: 8.707 MB / 1.295 GB Notification: Performance of SimCode: time 7.32e-07/0.6028, allocations: 0 / 1.6 GB, free: 8.707 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6031/1.206, allocations: 28.66 MB / 1.628 GB, free: 252.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.19, allocations: 5.797 kB / 1.628 GB, free: 252.6 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 20.245853456901386]