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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 106.2 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.03 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2828, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6575/0.9403, allocations: 181.9 MB / 1.129 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008394/0.9487, allocations: 5.358 MB / 1.134 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.9507, allocations: 33.69 kB / 1.134 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.9522, allocations: 446.5 kB / 1.134 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.9567, allocations: 1.675 MB / 1.136 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.9588, allocations: 0.8013 MB / 1.137 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.9619, allocations: 2.198 MB / 1.139 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.9629, allocations: 0.6925 MB / 1.14 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.9643, allocations: 0.7454 MB / 1.14 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.9661, allocations: 0.681 MB / 1.141 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.9662, allocations: 76.69 kB / 1.141 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.9692, allocations: 1.396 MB / 1.142 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.9696, allocations: 322.7 kB / 1.143 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005961/0.9702, allocations: 470.3 kB / 1.143 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.9729, allocations: 1.665 MB / 1.145 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9729, allocations: 0 / 1.145 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9729, allocations: 0 / 1.145 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.973, allocations: 4 kB / 1.145 GB, free: 4.164 MB / 0.8575 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.002073/0.975, allocations: 1.176 MB / 1.146 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.9751, allocations: 9.562 kB / 1.146 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.977, allocations: 268.2 kB / 1.146 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.9782, allocations: 0.7122 MB / 1.147 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.9783, allocations: 46.12 kB / 1.147 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.873e-05/0.9784, allocations: 60.38 kB / 1.147 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.9793, allocations: 0.5883 MB / 1.148 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.9794, allocations: 0 / 1.148 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.9794, allocations: 27.06 kB / 1.148 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.9795, allocations: 20.94 kB / 1.148 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.9803, allocations: 0.5006 MB / 1.148 GB, free: 18.9 MB / 0.8731 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.003091/0.9834, allocations: 2.381 MB / 1.151 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.9841, allocations: 424.3 kB / 1.151 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.9844, allocations: 223.5 kB / 1.151 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.9846, allocations: 100.4 kB / 1.151 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9847, allocations: 37.66 kB / 1.151 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.9847, allocations: 1.031 kB / 1.151 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.002823/0.9875, allocations: 1.443 MB / 1.153 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.9876, allocations: 61.28 kB / 1.153 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.9882, allocations: 0.5321 MB / 1.153 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.9882, allocations: 37.36 kB / 1.153 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.9884, allocations: 328.2 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.9885, allocations: 172.2 kB / 1.154 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.9887, allocations: 89.83 kB / 1.154 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9888, allocations: 374 kB / 1.154 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.9891, allocations: 179.2 kB / 1.154 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.9895, allocations: 259.5 kB / 1.155 GB, free: 14.78 MB / 0.8731 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.003179/0.9927, allocations: 1.444 MB / 1.156 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9927, allocations: 0 / 1.156 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008965/0.9936, allocations: 0.5299 MB / 1.157 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.9936, allocations: 7.734 kB / 1.157 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9936, allocations: 1.531 kB / 1.157 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.9937, allocations: 4.562 kB / 1.157 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.9941, allocations: 93.38 kB / 1.157 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9941, allocations: 3.625 kB / 1.157 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.9948, allocations: 18.94 kB / 1.157 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.9948, allocations: 18.34 kB / 1.157 GB, free: 13.86 MB / 0.8731 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.0003732/0.9952, allocations: 251.8 kB / 1.157 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9953, allocations: 76.02 kB / 1.157 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.9955, allocations: 75.38 kB / 1.157 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.9955, allocations: 11.42 kB / 1.157 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9955, allocations: 0 / 1.157 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007225/0.9962, allocations: 0.5065 MB / 1.158 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.9988, allocations: 1.595 MB / 1.159 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.9988, allocations: 3.969 kB / 1.159 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.9993, allocations: 108 kB / 1.159 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.9993, allocations: 11 kB / 1.159 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.9994, allocations: 19.7 kB / 1.159 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.9994, allocations: 11.53 kB / 1.159 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9994, allocations: 5.281 kB / 1.159 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.001, allocations: 0.906 MB / 1.16 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/1.001, allocations: 197.9 kB / 1.16 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/1.001, allocations: 14.3 kB / 1.16 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/1.002, allocations: 21.48 kB / 1.16 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/1.002, allocations: 48.92 kB / 1.16 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/1.002, allocations: 27.77 kB / 1.16 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00049/1.002, allocations: 393.2 kB / 1.161 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 0 / 1.161 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007573/1.003, allocations: 199.2 kB / 1.161 GB, free: 11.37 MB / 0.8731 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.0004162/1.004, allocations: 189 kB / 1.161 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008202/1.004, allocations: 450.5 kB / 1.162 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.004, allocations: 1.219 kB / 1.162 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/1.005, allocations: 231.8 kB / 1.162 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.007, allocations: 498.7 kB / 1.162 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/1.009, allocations: 1.552 MB / 1.164 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/1.01, allocations: 0.975 MB / 1.165 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006648/1.01, allocations: 173.4 kB / 1.165 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.011, allocations: 58.75 kB / 1.165 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/1.011, allocations: 0 / 1.165 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of Templates: time 0.02475/1.035, allocations: 14.8 MB / 1.179 GB, free: 3.473 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (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 & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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