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.001018/0.001018, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001317/0.001317, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 9.781 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.264, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1668/0.4309, allocations: 165.4 MB / 1.22 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007296/0.4382, allocations: 5.038 MB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.4389, allocations: 31.81 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.4398, allocations: 294.2 kB / 1.225 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.4427, allocations: 1.224 MB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.4442, allocations: 0.5749 MB / 1.227 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002695/0.4469, allocations: 2.511 MB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.4476, allocations: 0.4999 MB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.4485, allocations: 0.6223 MB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/0.4494, allocations: 0.6304 MB / 1.231 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.4495, allocations: 31.94 kB / 1.231 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4512, allocations: 0.6898 MB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.4515, allocations: 263.2 kB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.4516, allocations: 193.2 kB / 1.232 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4528, allocations: 1.114 MB / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4528, allocations: 0 / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4528, allocations: 0 / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.4528, allocations: 0 / 1.233 GB, free: 1.699 MB / 0.9825 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.001465/0.4543, allocations: 1.028 MB / 1.234 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.4543, allocations: 8.031 kB / 1.234 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.4561, allocations: 286.7 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.4571, allocations: 0.6441 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.4571, allocations: 45.31 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.4572, allocations: 67.84 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4583, allocations: 0.5726 MB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4583, allocations: 3.938 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.4583, allocations: 24 kB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.4584, allocations: 29.25 kB / 1.236 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/0.4593, allocations: 0.4931 MB / 1.236 GB, free: 14.41 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.002936/0.4622, allocations: 2.38 MB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.463, allocations: 436.6 kB / 1.239 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.4634, allocations: 229.3 kB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.4635, allocations: 97.09 kB / 1.239 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4636, allocations: 42.52 kB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.4636, allocations: 0 / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.00274/0.4663, allocations: 1.43 MB / 1.241 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.4664, allocations: 55.84 kB / 1.241 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.467, allocations: 0.5382 MB / 1.241 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.467, allocations: 37.7 kB / 1.241 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4673, allocations: 328.6 kB / 1.241 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.4674, allocations: 169.5 kB / 1.242 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.4675, allocations: 8 kB / 1.242 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4676, allocations: 378.7 kB / 1.242 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.4679, allocations: 173 kB / 1.242 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.4683, allocations: 252.8 kB / 1.242 GB, free: 7.555 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.4709, allocations: 1.052 MB / 1.243 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4709, allocations: 3.938 kB / 1.243 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008314/0.4717, allocations: 0.5226 MB / 1.244 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4717, allocations: 8 kB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4718, allocations: 0 / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4718, allocations: 7.984 kB / 1.244 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.4722, allocations: 91.91 kB / 1.244 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4722, allocations: 8.156 kB / 1.244 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.4728, allocations: 46.34 kB / 1.244 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.4728, allocations: 16 kB / 1.244 GB, free: 5.762 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 sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.4731, allocations: 253.7 kB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4733, allocations: 67.23 kB / 1.244 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.4734, allocations: 82.45 kB / 1.244 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4734, allocations: 4 kB / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4735, allocations: 0 / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006975/0.4742, allocations: 0.5106 MB / 1.245 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.4764, allocations: 1.582 MB / 1.247 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4764, allocations: 4.625 kB / 1.247 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.477, allocations: 115.8 kB / 1.247 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.477, allocations: 8 kB / 1.247 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.4771, allocations: 23.98 kB / 1.247 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.4771, allocations: 11.88 kB / 1.247 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4771, allocations: 8 kB / 1.247 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.4782, allocations: 0.8944 MB / 1.248 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.4785, allocations: 196.2 kB / 1.248 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.4786, allocations: 23.98 kB / 1.248 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.4791, allocations: 40.08 kB / 1.248 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.4792, allocations: 47.84 kB / 1.248 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.4793, allocations: 20 kB / 1.248 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004399/0.4797, allocations: 394.8 kB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4797, allocations: 0 / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006515/0.4804, allocations: 200 kB / 1.248 GB, free: 1.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003893/0.4808, allocations: 208.5 kB / 1.249 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007624/0.4816, allocations: 433.5 kB / 1.249 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.4816, allocations: 4 kB / 1.249 GB, free: 436 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.4819, allocations: 229 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4474/0.9293, allocations: 464.3 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.9321, allocations: 1.887 MB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.9327, allocations: 0.9805 MB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007564/0.9334, allocations: 165.7 kB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.9336, allocations: 55.62 kB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/0.9336, allocations: 0 / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02434/0.9579, allocations: 13.64 MB / 1.266 GB, free: 188.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches