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: 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.001453/0.001453, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.00147/0.00147, allocations: 183 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9106/0.9121, allocations: 140.4 MB / 1.089 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2225/1.135, allocations: 181.9 MB / 1.266 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009348/1.144, allocations: 5.354 MB / 1.271 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/1.146, allocations: 39.81 kB / 1.271 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/1.147, allocations: 429.4 kB / 1.272 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005135/1.153, allocations: 1.687 MB / 1.274 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/1.155, allocations: 0.8018 MB / 1.274 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003271/1.158, allocations: 2.195 MB / 1.276 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/1.159, allocations: 0.6852 MB / 1.277 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/1.161, allocations: 0.7723 MB / 1.278 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/1.163, allocations: 0.684 MB / 1.279 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/1.164, allocations: 76 kB / 1.279 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/1.167, allocations: 1.391 MB / 1.28 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/1.167, allocations: 315.2 kB / 1.28 GB, free: 9.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/1.168, allocations: 469.9 kB / 1.281 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003486/1.172, allocations: 1.659 MB / 1.282 GB, free: 7.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.172, allocations: 4 kB / 1.282 GB, free: 7.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.07e-06/1.172, allocations: 4 kB / 1.282 GB, free: 7.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.333e-05/1.172, allocations: 7.875 kB / 1.282 GB, free: 7.098 MB / 1.014 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.002557/1.175, allocations: 1.184 MB / 1.284 GB, free: 5.859 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.175, allocations: 12.03 kB / 1.284 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.177, allocations: 270.8 kB / 1.284 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.178, allocations: 0.7022 MB / 1.284 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/1.178, allocations: 41.31 kB / 1.285 GB, free: 4.801 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/1.178, allocations: 75.88 kB / 1.285 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.179, allocations: 0.5843 MB / 1.285 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.179, allocations: 0 / 1.285 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/1.179, allocations: 24 kB / 1.285 GB, free: 4.109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/1.18, allocations: 21.31 kB / 1.285 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/1.18, allocations: 0.5009 MB / 1.286 GB, free: 3.59 MB / 1.014 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.003467/1.184, allocations: 2.372 MB / 1.288 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/1.185, allocations: 434.7 kB / 1.288 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/1.185, allocations: 224.7 kB / 1.289 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/1.185, allocations: 93.09 kB / 1.289 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.185, allocations: 38.56 kB / 1.289 GB, free: 220 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/1.185, allocations: 0 / 1.289 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.002996/1.188, allocations: 1.437 MB / 1.29 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.188, allocations: 59.78 kB / 1.29 GB, free: 14.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/1.189, allocations: 0.5421 MB / 1.291 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/1.189, allocations: 37.7 kB / 1.291 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.189, allocations: 332.6 kB / 1.291 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/1.19, allocations: 169.5 kB / 1.291 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.19, allocations: 86.25 kB / 1.291 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.19, allocations: 374.7 kB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.19, allocations: 173 kB / 1.292 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/1.191, allocations: 264.8 kB / 1.292 GB, free: 12.64 MB / 1.029 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.003293/1.194, allocations: 1.444 MB / 1.294 GB, free: 11.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.194, allocations: 0 / 1.294 GB, free: 11.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008733/1.195, allocations: 0.5265 MB / 1.294 GB, free: 10.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.195, allocations: 4 kB / 1.294 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.195, allocations: 8.156 kB / 1.294 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.195, allocations: 0 / 1.294 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.195, allocations: 95.89 kB / 1.294 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.195, allocations: 7.984 kB / 1.294 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/1.196, allocations: 24.59 kB / 1.294 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/1.196, allocations: 23.94 kB / 1.294 GB, free: 10.45 MB / 1.029 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.0003166/1.196, allocations: 249.6 kB / 1.294 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.196, allocations: 67.25 kB / 1.295 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/1.197, allocations: 86.44 kB / 1.295 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/1.197, allocations: 8 kB / 1.295 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.197, allocations: 0 / 1.295 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006962/1.197, allocations: 0.5067 MB / 1.295 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/1.2, allocations: 1.592 MB / 1.297 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.2, allocations: 4 kB / 1.297 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/1.2, allocations: 115.8 kB / 1.297 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.2, allocations: 8 kB / 1.297 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/1.2, allocations: 16.62 kB / 1.297 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/1.2, allocations: 15.94 kB / 1.297 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/1.2, allocations: 11.94 kB / 1.297 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.202, allocations: 0.8905 MB / 1.298 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/1.202, allocations: 204.2 kB / 1.298 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.202, allocations: 12 kB / 1.298 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/1.203, allocations: 25.77 kB / 1.298 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/1.203, allocations: 51.75 kB / 1.298 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/1.203, allocations: 27.98 kB / 1.298 GB, free: 6.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004876/1.203, allocations: 390.8 kB / 1.298 GB, free: 5.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.71e-07/1.203, allocations: 4 kB / 1.298 GB, free: 5.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007041/1.204, allocations: 200 kB / 1.299 GB, free: 5.742 MB / 1.029 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.0004688/1.205, allocations: 192.4 kB / 1.299 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000817/1.205, allocations: 441.2 kB / 1.299 GB, free: 5.129 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.205, allocations: 4 kB / 1.299 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/1.206, allocations: 233.1 kB / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/1.208, allocations: 499.5 kB / 1.3 GB, free: 4.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/1.21, allocations: 1.584 MB / 1.301 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/1.211, allocations: 0.9848 MB / 1.302 GB, free: 1.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.211, allocations: 59.44 kB / 1.302 GB, free: 1.672 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/1.211, allocations: 4 kB / 1.302 GB, free: 1.668 MB / 1.029 GB Notification: Performance of Templates: time 0.01911/1.23, allocations: 11.68 MB / 1.314 GB, free: 6.094 MB / 1.045 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 -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