Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006481/0.006481, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001421/0.001421, allocations: 191.7 kB / 16.79 MB, free: 5.809 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.52 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1997/0.5623, allocations: 179.6 MB / 1.228 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.5715, allocations: 5.41 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.5728, allocations: 31.81 kB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5741, allocations: 374.1 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.5783, allocations: 1.576 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.5804, allocations: 0.72 MB / 1.236 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.5839, allocations: 2.988 MB / 1.239 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008577/0.5847, allocations: 0.5867 MB / 1.24 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.5859, allocations: 0.6339 MB / 1.24 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.5878, allocations: 0.7096 MB / 1.241 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.588, allocations: 36 kB / 1.241 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.5911, allocations: 1.613 MB / 1.243 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.5915, allocations: 283.1 kB / 1.243 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.592, allocations: 421.9 kB / 1.243 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5937, allocations: 1.236 MB / 1.244 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5937, allocations: 4 kB / 1.244 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5937, allocations: 0 / 1.244 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.5937, allocations: 0 / 1.244 GB, free: 3.32 MB / 0.9981 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.001829/0.5956, allocations: 1.184 MB / 1.246 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.5956, allocations: 11.97 kB / 1.246 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.5974, allocations: 278.7 kB / 1.246 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009899/0.5984, allocations: 0.671 MB / 1.246 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.5984, allocations: 41.31 kB / 1.247 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.5985, allocations: 67.89 kB / 1.247 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/0.5995, allocations: 0.5765 MB / 1.247 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.5996, allocations: 3.938 kB / 1.247 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.5996, allocations: 28 kB / 1.247 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.5997, allocations: 25.31 kB / 1.247 GB, free: 348 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.721/1.321, allocations: 0.495 MB / 1.248 GB, free: 196.2 MB / 0.9981 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.00356/1.324, allocations: 2.383 MB / 1.25 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/1.325, allocations: 428.8 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/1.326, allocations: 221.8 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/1.326, allocations: 102.8 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/1.326, allocations: 38.38 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/1.326, allocations: 1.188 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003002/1.329, allocations: 1.442 MB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.329, allocations: 60.59 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/1.329, allocations: 0.5409 MB / 1.253 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/1.329, allocations: 39.08 kB / 1.253 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/1.33, allocations: 328.3 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.33, allocations: 171.3 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.33, allocations: 87.14 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.33, allocations: 370.3 kB / 1.254 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/1.33, allocations: 176.7 kB / 1.254 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/1.331, allocations: 257.1 kB / 1.254 GB, free: 193.7 MB / 0.9981 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.0031/1.334, allocations: 1.446 MB / 1.256 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.334, allocations: 0 / 1.256 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007462/1.335, allocations: 0.5297 MB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.335, allocations: 9.406 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.335, allocations: 2.844 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.335, allocations: 7.672 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.335, allocations: 92.11 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.335, allocations: 5.969 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/1.336, allocations: 48.05 kB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/1.336, allocations: 17.53 kB / 1.256 GB, free: 193.4 MB / 0.9981 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.0002943/1.336, allocations: 250.8 kB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.336, allocations: 70.66 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/1.336, allocations: 79.78 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.336, allocations: 5.281 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/1.336, allocations: 0 / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006731/1.337, allocations: 0.5137 MB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/1.339, allocations: 1.584 MB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.339, allocations: 6.219 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/1.34, allocations: 114.1 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.34, allocations: 7.812 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/1.34, allocations: 17.42 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/1.34, allocations: 13.75 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.34, allocations: 4 kB / 1.259 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.341, allocations: 0.906 MB / 1.26 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.341, allocations: 198 kB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/1.342, allocations: 17.16 kB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/1.342, allocations: 44.33 kB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/1.342, allocations: 44.61 kB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/1.342, allocations: 23.19 kB / 1.26 GB, free: 192 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004702/1.343, allocations: 396.8 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.343, allocations: 0 / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007181/1.343, allocations: 200 kB / 1.261 GB, free: 191.9 MB / 0.9981 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.0004614/1.344, allocations: 186.6 kB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007605/1.345, allocations: 431.9 kB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.345, allocations: 3.953 kB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/1.345, allocations: 234.1 kB / 1.261 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.347, allocations: 478.1 kB / 1.262 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.35, allocations: 1.886 MB / 1.264 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/1.351, allocations: 0.9749 MB / 1.265 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.351, allocations: 62.81 kB / 1.265 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.351, allocations: 0 / 1.265 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02878/1.38, allocations: 11.59 MB / 1.276 GB, free: 187.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches