Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, 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.001946/0.001946, allocations: 195.3 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.36 kB / 0.912 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.357, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2053/0.5623, allocations: 177.1 MB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008231/0.5706, allocations: 4.406 MB / 1.245 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5716, allocations: 27.88 kB / 1.246 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.5728, allocations: 361.7 kB / 1.246 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.5763, allocations: 1.245 MB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.5783, allocations: 0.694 MB / 1.248 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.5804, allocations: 1.625 MB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6065/1.187, allocations: 0.5154 MB / 1.25 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/1.189, allocations: 0.672 MB / 1.251 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/1.19, allocations: 488.6 kB / 1.251 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/1.19, allocations: 53.89 kB / 1.251 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/1.192, allocations: 1.29 MB / 1.252 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/1.193, allocations: 236.9 kB / 1.253 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004375/1.193, allocations: 351.7 kB / 1.253 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/1.195, allocations: 1.269 MB / 1.254 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.195, allocations: 1.906 kB / 1.254 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.195, allocations: 0 / 1.254 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.195, allocations: 0 / 1.254 GB, free: 6.871 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001672/1.197, allocations: 1.005 MB / 1.255 GB, free: 22.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.197, allocations: 9.656 kB / 1.255 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.198, allocations: 173.5 kB / 1.255 GB, free: 22.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/1.199, allocations: 0.5253 MB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.199, allocations: 33.47 kB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/1.199, allocations: 44.28 kB / 1.256 GB, free: 21.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/1.2, allocations: 468.6 kB / 1.256 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.2, allocations: 2.906 kB / 1.256 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/1.2, allocations: 21.66 kB / 1.256 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/1.2, allocations: 15.62 kB / 1.256 GB, free: 21.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/1.201, allocations: 420.5 kB / 1.257 GB, free: 21.94 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.002639/1.203, allocations: 2.041 MB / 1.259 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/1.204, allocations: 288.6 kB / 1.259 GB, free: 20.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/1.204, allocations: 187 kB / 1.259 GB, free: 20.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/1.204, allocations: 195 kB / 1.259 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.204, allocations: 41.41 kB / 1.259 GB, free: 20.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/1.204, allocations: 2.109 kB / 1.259 GB, free: 20.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001656/1.206, allocations: 0.6401 MB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.206, allocations: 58.02 kB / 1.26 GB, free: 20.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/1.207, allocations: 444.3 kB / 1.26 GB, free: 20.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/1.207, allocations: 35.45 kB / 1.261 GB, free: 20.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/1.207, allocations: 277.1 kB / 1.261 GB, free: 20.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/1.207, allocations: 109.3 kB / 1.261 GB, free: 20.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.207, allocations: 65.48 kB / 1.261 GB, free: 20.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.207, allocations: 361.8 kB / 1.261 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/1.207, allocations: 134.2 kB / 1.261 GB, free: 19.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/1.208, allocations: 202.1 kB / 1.262 GB, free: 19.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/1.208, allocations: 337.8 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.208, allocations: 0 / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006791/1.209, allocations: 406.5 kB / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.209, allocations: 7.391 kB / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.209, allocations: 0 / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.209, allocations: 4.344 kB / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/1.209, allocations: 69.62 kB / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.209, allocations: 5.875 kB / 1.262 GB, free: 19.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/1.21, allocations: 40.72 kB / 1.262 GB, free: 19.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1.21, allocations: 14.41 kB / 1.262 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004177/1.21, allocations: 291 kB / 1.263 GB, free: 19.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002982/1.211, allocations: 210.3 kB / 1.263 GB, free: 19.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005011/1.211, allocations: 331.5 kB / 1.263 GB, free: 19.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/1.211, allocations: 2.531 kB / 1.263 GB, free: 19.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006802/1.212, allocations: 399 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/1.212, allocations: 3.438 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/1.212, allocations: 2.562 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.212, allocations: 5.094 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/1.212, allocations: 69.64 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.212, allocations: 6.438 kB / 1.264 GB, free: 19.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/1.213, allocations: 33.64 kB / 1.264 GB, free: 19.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/1.213, allocations: 16 kB / 1.264 GB, free: 19.29 MB / 1.014 GB 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 (37): * Single equations (assignments): 37 * 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.0001645/1.213, allocations: 198.1 kB / 1.264 GB, free: 19.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/1.213, allocations: 52.45 kB / 1.264 GB, free: 19.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/1.214, allocations: 413.4 kB / 1.264 GB, free: 19.02 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.214, allocations: 4.516 kB / 1.264 GB, free: 19.02 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.214, allocations: 2.188 kB / 1.264 GB, free: 19.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007836/1.215, allocations: 442.9 kB / 1.265 GB, free: 18.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/1.217, allocations: 1.132 MB / 1.266 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.217, allocations: 6.984 kB / 1.266 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/1.217, allocations: 64.47 kB / 1.266 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/1.217, allocations: 49.47 kB / 1.266 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.217, allocations: 9.109 kB / 1.266 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/1.219, allocations: 1.54 MB / 1.268 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.219, allocations: 6.281 kB / 1.268 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.22, allocations: 0.7007 MB / 1.268 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/1.22, allocations: 166.5 kB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/1.22, allocations: 6.672 kB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/1.22, allocations: 22.22 kB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/1.22, allocations: 27.89 kB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/1.221, allocations: 15.92 kB / 1.268 GB, free: 16.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004073/1.221, allocations: 315.4 kB / 1.269 GB, free: 16.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.221, allocations: 0 / 1.269 GB, free: 16.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009043/1.222, allocations: 302.5 kB / 1.269 GB, free: 16.63 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004298/1.222, allocations: 191.1 kB / 1.269 GB, free: 16.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00112/1.223, allocations: 0.5072 MB / 1.27 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.223, allocations: 1.891 kB / 1.27 GB, free: 16.53 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/1.224, allocations: 283.4 kB / 1.27 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.225, allocations: 312.2 kB / 1.27 GB, free: 16.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/1.227, allocations: 1.093 MB / 1.271 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.228, allocations: 0.9022 MB / 1.272 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006211/1.228, allocations: 166.4 kB / 1.272 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.229, allocations: 41 kB / 1.272 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.229, allocations: 0 / 1.272 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02104/1.25, allocations: 10.21 MB / 1.282 GB, free: 14.74 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches