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 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.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.001781/0.001781, allocations: 108.5 kB / 16.36 MB, free: 6.285 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.002007/0.002007, 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.592/2.592, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 69.34 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3282, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.7781/1.106, allocations: 177.2 MB / 1.2 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007374/1.114, allocations: 4.383 MB / 1.204 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009695/1.115, allocations: 29.62 kB / 1.204 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009652/1.116, allocations: 363.5 kB / 1.204 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/1.119, allocations: 1.253 MB / 1.206 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/1.121, allocations: 0.6955 MB / 1.206 GB, free: 296 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.123, allocations: 1.625 MB / 1.208 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/1.124, allocations: 0.5239 MB / 1.208 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/1.125, allocations: 0.6815 MB / 1.209 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/1.126, allocations: 491.9 kB / 1.209 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/1.126, allocations: 53.25 kB / 1.21 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/1.129, allocations: 1.294 MB / 1.211 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/1.129, allocations: 235.3 kB / 1.211 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/1.13, allocations: 350.4 kB / 1.211 GB, free: 13.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/1.131, allocations: 1.279 MB / 1.213 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.131, allocations: 2.219 kB / 1.213 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.131, allocations: 0 / 1.213 GB, free: 12.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.958e-06/1.131, allocations: 0 / 1.213 GB, free: 12.43 MB / 0.92 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.001535/1.133, allocations: 1.003 MB / 1.214 GB, free: 11.62 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.133, allocations: 9.562 kB / 1.214 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.134, allocations: 176.2 kB / 1.214 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/1.135, allocations: 0.5564 MB / 1.214 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/1.135, allocations: 35.28 kB / 1.214 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/1.135, allocations: 45.59 kB / 1.214 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/1.136, allocations: 465.4 kB / 1.215 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.136, allocations: 3.938 kB / 1.215 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/1.136, allocations: 17.66 kB / 1.215 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/1.136, allocations: 13.69 kB / 1.215 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/1.137, allocations: 425.7 kB / 1.215 GB, free: 10.56 MB / 0.92 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.002656/1.139, allocations: 2.03 MB / 1.217 GB, free: 8.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/1.14, allocations: 286.9 kB / 1.218 GB, free: 8.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.14, allocations: 187.3 kB / 1.218 GB, free: 8.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/1.14, allocations: 191 kB / 1.218 GB, free: 8.371 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/1.14, allocations: 41.12 kB / 1.218 GB, free: 8.324 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.215e-06/1.14, allocations: 0 / 1.218 GB, free: 8.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.001535/1.142, allocations: 0.6494 MB / 1.219 GB, free: 7.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/1.142, allocations: 53.81 kB / 1.219 GB, free: 7.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/1.143, allocations: 452.6 kB / 1.219 GB, free: 7.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.143, allocations: 32.42 kB / 1.219 GB, free: 7.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/1.143, allocations: 280.8 kB / 1.219 GB, free: 7.305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/1.143, allocations: 106.5 kB / 1.219 GB, free: 7.211 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.143, allocations: 65.73 kB / 1.22 GB, free: 7.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.143, allocations: 355.2 kB / 1.22 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/1.143, allocations: 135 kB / 1.22 GB, free: 6.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/1.144, allocations: 202.4 kB / 1.22 GB, free: 6.609 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/1.144, allocations: 330.6 kB / 1.22 GB, free: 6.414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.144, allocations: 3.938 kB / 1.22 GB, free: 6.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006691/1.145, allocations: 402.1 kB / 1.221 GB, free: 6.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.145, allocations: 15.92 kB / 1.221 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.145, allocations: 0 / 1.221 GB, free: 6.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.145, allocations: 4 kB / 1.221 GB, free: 6.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/1.145, allocations: 72.94 kB / 1.221 GB, free: 6.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/1.145, allocations: 4 kB / 1.221 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/1.146, allocations: 35.67 kB / 1.221 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/1.146, allocations: 15.98 kB / 1.221 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000395/1.146, allocations: 288 kB / 1.221 GB, free: 5.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002907/1.146, allocations: 200.3 kB / 1.221 GB, free: 5.523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005126/1.147, allocations: 329.2 kB / 1.222 GB, free: 5.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/1.147, allocations: 0 / 1.222 GB, free: 5.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006537/1.148, allocations: 404.8 kB / 1.222 GB, free: 4.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/1.148, allocations: 4 kB / 1.222 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.148, allocations: 5 kB / 1.222 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/1.148, allocations: 4 kB / 1.222 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.148, allocations: 68.06 kB / 1.222 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.148, allocations: 7.938 kB / 1.222 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/1.148, allocations: 35.72 kB / 1.222 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.148, allocations: 16 kB / 1.222 GB, free: 4.645 MB / 0.92 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.0001395/1.149, allocations: 196.2 kB / 1.223 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/1.149, allocations: 51.38 kB / 1.223 GB, free: 4.395 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/1.15, allocations: 415.1 kB / 1.223 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.15, allocations: 7.984 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.15, allocations: 0.875 kB / 1.223 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006653/1.15, allocations: 450.3 kB / 1.223 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.152, allocations: 1.138 MB / 1.225 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.152, allocations: 4 kB / 1.225 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/1.152, allocations: 59.91 kB / 1.225 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/1.153, allocations: 40.83 kB / 1.225 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.153, allocations: 8.125 kB / 1.225 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/1.154, allocations: 1.543 MB / 1.226 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.154, allocations: 4.891 kB / 1.226 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.155, allocations: 0.7135 MB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/1.155, allocations: 160.4 kB / 1.227 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/1.155, allocations: 8 kB / 1.227 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/1.156, allocations: 15.98 kB / 1.227 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/1.156, allocations: 28.03 kB / 1.227 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/1.156, allocations: 15.94 kB / 1.227 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003385/1.156, allocations: 314.9 kB / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.156, allocations: 0 / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009603/1.157, allocations: 299.3 kB / 1.228 GB, free: 14.89 MB / 0.9356 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.0004167/1.158, allocations: 200.9 kB / 1.228 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008872/1.159, allocations: 496 kB / 1.228 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.159, allocations: 4.188 kB / 1.228 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/1.159, allocations: 283.1 kB / 1.229 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.16, allocations: 309.1 kB / 1.229 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.162, allocations: 1.084 MB / 1.23 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/1.163, allocations: 0.8975 MB / 1.231 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005153/1.163, allocations: 168.4 kB / 1.231 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.163, allocations: 43.44 kB / 1.231 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.163, allocations: 0 / 1.231 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.0188/1.182, allocations: 10.18 MB / 1.241 GB, free: 1.316 MB / 0.9356 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches