Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.3 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.6052, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1855/0.7908, allocations: 181.9 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008118/0.799, allocations: 5.361 MB / 1.133 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.8001, allocations: 35.81 kB / 1.133 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.8014, allocations: 441.3 kB / 1.133 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.8056, allocations: 1.679 MB / 1.135 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.8076, allocations: 0.7855 MB / 1.135 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.8103, allocations: 2.199 MB / 1.138 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.8111, allocations: 0.6852 MB / 1.138 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.8123, allocations: 0.7393 MB / 1.139 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.8138, allocations: 0.6783 MB / 1.14 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.814, allocations: 76 kB / 1.14 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.8166, allocations: 1.399 MB / 1.141 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.8169, allocations: 319.1 kB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.8173, allocations: 473.9 kB / 1.142 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.8193, allocations: 1.636 MB / 1.143 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8193, allocations: 0 / 1.143 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8193, allocations: 0 / 1.143 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8193, allocations: 0 / 1.143 GB, free: 10.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001613/0.821, allocations: 1.188 MB / 1.145 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.821, allocations: 8.031 kB / 1.145 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.8211, allocations: 98.52 kB / 1.145 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.8228, allocations: 274.7 kB / 1.145 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009026/0.8237, allocations: 0.6709 MB / 1.146 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.8237, allocations: 45.31 kB / 1.146 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.8238, allocations: 64 kB / 1.146 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.8247, allocations: 0.5804 MB / 1.146 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.8248, allocations: 0 / 1.146 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.8248, allocations: 24 kB / 1.146 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.8249, allocations: 25.25 kB / 1.146 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.8257, allocations: 0.497 MB / 1.147 GB, free: 7.176 MB / 0.9044 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.003093/0.8289, allocations: 2.404 MB / 1.149 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.8296, allocations: 419.6 kB / 1.15 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.83, allocations: 229.4 kB / 1.15 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.8301, allocations: 105 kB / 1.15 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8302, allocations: 42.45 kB / 1.15 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.8302, allocations: 0 / 1.15 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48): time 0.002714/0.8329, allocations: 1.436 MB / 1.151 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.833, allocations: 59.84 kB / 1.151 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.8335, allocations: 0.5382 MB / 1.152 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.8336, allocations: 41.7 kB / 1.152 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.8338, allocations: 328.6 kB / 1.152 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.8339, allocations: 165.5 kB / 1.152 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8341, allocations: 90.16 kB / 1.153 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8342, allocations: 378.7 kB / 1.153 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.8345, allocations: 173 kB / 1.153 GB, free: 492 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.8348, allocations: 260.8 kB / 1.153 GB, free: 204 kB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.838, allocations: 1.445 MB / 1.155 GB, free: 14.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.838, allocations: 0 / 1.155 GB, free: 14.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008252/0.8389, allocations: 0.5304 MB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8389, allocations: 5.25 kB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8389, allocations: 8.156 kB / 1.155 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8389, allocations: 4 kB / 1.155 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.8393, allocations: 95.84 kB / 1.155 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8393, allocations: 3.984 kB / 1.155 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.8399, allocations: 20.5 kB / 1.155 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.84, allocations: 16 kB / 1.155 GB, free: 14.02 MB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003124/0.8403, allocations: 245.7 kB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.8404, allocations: 71.16 kB / 1.156 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.8406, allocations: 82.45 kB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.8406, allocations: 8 kB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.8406, allocations: 7.984 kB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006693/0.8413, allocations: 0.5066 MB / 1.156 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.8434, allocations: 1.593 MB / 1.158 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8434, allocations: 4 kB / 1.158 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.8439, allocations: 111.8 kB / 1.158 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8439, allocations: 8.625 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.8439, allocations: 23.98 kB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8439, allocations: 11.94 kB / 1.158 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.844, allocations: 15.88 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.845, allocations: 0.8905 MB / 1.159 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.8453, allocations: 192.3 kB / 1.159 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.8454, allocations: 23.98 kB / 1.159 GB, free: 9.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.8459, allocations: 20 kB / 1.159 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.846, allocations: 43.77 kB / 1.159 GB, free: 9.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.846, allocations: 27.98 kB / 1.159 GB, free: 9.891 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000397/0.8464, allocations: 398.8 kB / 1.16 GB, free: 9.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8464, allocations: 0 / 1.16 GB, free: 9.504 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006174/0.847, allocations: 204 kB / 1.16 GB, free: 9.305 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.001584/0.8486, allocations: 1.518 MB / 1.161 GB, free: 7.707 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007931/0.8494, allocations: 481.5 kB / 1.162 GB, free: 7.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8495, allocations: 4 kB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.8498, allocations: 231.6 kB / 1.162 GB, free: 7.012 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.8518, allocations: 499.1 kB / 1.162 GB, free: 6.539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.8593, allocations: 5.622 MB / 1.168 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.8599, allocations: 0.9811 MB / 1.169 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.8606, allocations: 165.8 kB / 1.169 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.8611, allocations: 251.4 kB / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.8611, allocations: 0 / 1.169 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.01/2.871, allocations: 20.27 MB / 1.189 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.666/12.54, allocations: 7.875 kB / 1.189 GB, free: 11.35 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches