Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00123/0.00123, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00132/0.00132, allocations: 219.5 kB / 23.04 MB, free: 5.078 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.889/2.889, allocations: 0.49 GB / 0.7959 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",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.001871/0.001871, allocations: 61.44 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2997, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2064/0.5062, allocations: 194.6 MB / 1.517 GB, free: 14.62 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008991/0.5152, allocations: 5.776 MB / 1.522 GB, free: 8.828 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009983/0.5162, allocations: 59.5 kB / 1.522 GB, free: 8.77 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.5176, allocations: 0.6136 MB / 1.523 GB, free: 8.152 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.5219, allocations: 1.949 MB / 1.525 GB, free: 6.195 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.5249, allocations: 1.24 MB / 1.526 GB, free: 4.961 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.5287, allocations: 3.033 MB / 1.529 GB, free: 1.918 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.5298, allocations: 0.7397 MB / 1.53 GB, free: 1.168 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.532, allocations: 1.316 MB / 1.531 GB, free: 15.85 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.534, allocations: 0.9653 MB / 1.532 GB, free: 14.89 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5342, allocations: 108 kB / 1.532 GB, free: 14.78 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5371, allocations: 1.528 MB / 1.534 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.5376, allocations: 482.6 kB / 1.534 GB, free: 12.78 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008611/0.5385, allocations: 0.6572 MB / 1.535 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.542, allocations: 2.145 MB / 1.537 GB, free: 9.965 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.542, allocations: 0 / 1.537 GB, free: 9.965 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5421, allocations: 0 / 1.537 GB, free: 9.965 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.763e-05/0.5421, allocations: 0 / 1.537 GB, free: 9.965 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002761/0.5448, allocations: 1.473 MB / 1.538 GB, free: 8.453 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5449, allocations: 8.031 kB / 1.538 GB, free: 8.445 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.92e-05/0.5449, allocations: 26 kB / 1.538 GB, free: 8.422 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.5451, allocations: 143.2 kB / 1.538 GB, free: 8.273 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.5471, allocations: 319 kB / 1.539 GB, free: 7.961 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5486, allocations: 0.7838 MB / 1.54 GB, free: 7.148 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.5486, allocations: 62 kB / 1.54 GB, free: 7.086 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5488, allocations: 87.94 kB / 1.54 GB, free: 7 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5503, allocations: 0.9141 MB / 1.541 GB, free: 6.082 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.5503, allocations: 0 / 1.541 GB, free: 6.082 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.5504, allocations: 40 kB / 1.541 GB, free: 6.043 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.5505, allocations: 37.92 kB / 1.541 GB, free: 6.008 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.5519, allocations: 0.8237 MB / 1.541 GB, free: 5.18 MB / 1.232 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.005399/0.5573, allocations: 3.472 MB / 1.545 GB, free: 1.492 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.558, allocations: 478.1 kB / 1.545 GB, free: 1.016 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.5585, allocations: 278 kB / 1.546 GB, free: 0.7422 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.5586, allocations: 32.33 kB / 1.546 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5587, allocations: 47 kB / 1.546 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.5587, allocations: 0 / 1.546 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003848/0.5625, allocations: 1.706 MB / 1.547 GB, free: 14.91 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5626, allocations: 59.84 kB / 1.547 GB, free: 14.84 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/0.5636, allocations: 0.802 MB / 1.548 GB, free: 14.03 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.5636, allocations: 37.7 kB / 1.548 GB, free: 13.99 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.564, allocations: 484.2 kB / 1.549 GB, free: 13.51 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.5642, allocations: 186.4 kB / 1.549 GB, free: 13.32 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5644, allocations: 114.3 kB / 1.549 GB, free: 13.21 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5645, allocations: 329.9 kB / 1.549 GB, free: 12.88 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.565, allocations: 241.2 kB / 1.549 GB, free: 12.64 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.5655, allocations: 357.2 kB / 1.55 GB, free: 12.26 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.5692, allocations: 1.452 MB / 1.551 GB, free: 10.77 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5692, allocations: 0 / 1.551 GB, free: 10.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001368/0.5705, allocations: 0.7799 MB / 1.552 GB, free: 9.977 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5706, allocations: 15.98 kB / 1.552 GB, free: 9.961 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5706, allocations: 4 kB / 1.552 GB, free: 9.957 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.5708, allocations: 97.59 kB / 1.552 GB, free: 9.855 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.5715, allocations: 139.8 kB / 1.552 GB, free: 9.719 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.5746, allocations: 3.098 MB / 1.555 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/0.5754, allocations: 31.94 kB / 1.555 GB, free: 6.359 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.5754, allocations: 20 kB / 1.555 GB, free: 6.34 MB / 1.248 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.0004891/0.5759, allocations: 305.5 kB / 1.556 GB, free: 6.031 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.5761, allocations: 95.44 kB / 1.556 GB, free: 5.938 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5763, allocations: 100.7 kB / 1.556 GB, free: 5.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5763, allocations: 8 kB / 1.556 GB, free: 5.832 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5763, allocations: 3.938 kB / 1.556 GB, free: 5.828 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.5774, allocations: 0.8427 MB / 1.557 GB, free: 4.895 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.5806, allocations: 1.762 MB / 1.558 GB, free: 3.035 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5806, allocations: 4 kB / 1.558 GB, free: 3.031 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.5812, allocations: 127.8 kB / 1.558 GB, free: 2.906 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.5815, allocations: 61.09 kB / 1.559 GB, free: 2.844 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.5815, allocations: 20 kB / 1.559 GB, free: 2.824 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.5832, allocations: 1.683 MB / 1.56 GB, free: 1.031 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.5832, allocations: 7.938 kB / 1.56 GB, free: 1.023 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5849, allocations: 1.078 MB / 1.561 GB, free: 15.89 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.5853, allocations: 159.4 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5854, allocations: 19.98 kB / 1.561 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.586, allocations: 20.59 kB / 1.561 GB, free: 15.69 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5861, allocations: 51.88 kB / 1.561 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.5862, allocations: 31.97 kB / 1.562 GB, free: 15.61 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007071/0.5869, allocations: 0.5615 MB / 1.562 GB, free: 15.05 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.5869, allocations: 3.938 kB / 1.562 GB, free: 15.05 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008242/0.5877, allocations: 280 kB / 1.562 GB, free: 14.77 MB / 1.264 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.002072/0.5898, allocations: 1.691 MB / 1.564 GB, free: 13.01 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.5911, allocations: 0.7766 MB / 1.565 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5911, allocations: 0 / 1.565 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.5917, allocations: 406.1 kB / 1.565 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.5944, allocations: 0.616 MB / 1.566 GB, free: 11.21 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009929/0.6043, allocations: 6.997 MB / 1.573 GB, free: 3.914 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.6051, allocations: 1.091 MB / 1.574 GB, free: 2.793 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007845/0.6059, allocations: 223.7 kB / 1.574 GB, free: 2.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.6063, allocations: 339.3 kB / 1.574 GB, free: 2.238 MB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/0.6063, allocations: 0 / 1.574 GB, free: 2.238 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06614/0.6725, allocations: 28.69 MB / 1.602 GB, free: 5.996 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.87, allocations: 17.83 kB / 1.602 GB, free: 5.984 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.482647898956202]