Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008475/0.0008475, allocations: 97.78 kB / 16.02 MB, free: 76 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.001203/0.001203, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.641/1.641, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7216, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2002/0.9218, allocations: 182.4 MB / 1.134 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.9385, allocations: 12.91 MB / 1.146 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.94, allocations: 23.88 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.9416, allocations: 334.1 kB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.9445, allocations: 0.8713 MB / 1.148 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.9467, allocations: 0.6212 MB / 1.148 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.9498, allocations: 2.097 MB / 1.15 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.9509, allocations: 0.5439 MB / 1.151 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.9552, allocations: 1.568 MB / 1.152 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.957, allocations: 0.5102 MB / 1.153 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.9572, allocations: 24 kB / 1.153 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.9594, allocations: 0.9548 MB / 1.154 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.9598, allocations: 259.2 kB / 1.154 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.9605, allocations: 367.8 kB / 1.154 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.962, allocations: 0.8496 MB / 1.155 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.962, allocations: 0 / 1.155 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.475e-06/0.962, allocations: 0 / 1.155 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.9621, allocations: 0 / 1.155 GB, free: 2.273 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001841/0.9639, allocations: 0.913 MB / 1.156 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.964, allocations: 8.031 kB / 1.156 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.9652, allocations: 202.8 kB / 1.156 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.9662, allocations: 0.5208 MB / 1.157 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.9666, allocations: 113.2 kB / 1.157 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.9667, allocations: 56 kB / 1.157 GB, free: 384 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.9681, allocations: 0.7675 MB / 1.158 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.9681, allocations: 7.938 kB / 1.158 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.9682, allocations: 31.94 kB / 1.158 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.9682, allocations: 24.98 kB / 1.158 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.9693, allocations: 483.1 kB / 1.158 GB, free: 14.98 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.004479/0.9738, allocations: 4.175 MB / 1.162 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.9739, allocations: 110.4 kB / 1.162 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.9741, allocations: 75.44 kB / 1.163 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.9743, allocations: 101.1 kB / 1.163 GB, free: 10.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.9743, allocations: 42.5 kB / 1.163 GB, free: 10.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.9743, allocations: 0 / 1.163 GB, free: 10.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007774/0.9751, allocations: 240.6 kB / 1.163 GB, free: 9.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.9752, allocations: 136.8 kB / 1.163 GB, free: 9.773 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.9765, allocations: 0.8368 MB / 1.164 GB, free: 8.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.9765, allocations: 25.7 kB / 1.164 GB, free: 8.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.9769, allocations: 399 kB / 1.164 GB, free: 8.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.9769, allocations: 43.44 kB / 1.164 GB, free: 8.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.977, allocations: 33.7 kB / 1.164 GB, free: 8.418 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.9771, allocations: 325.9 kB / 1.165 GB, free: 8.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.9774, allocations: 115.9 kB / 1.165 GB, free: 7.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.9779, allocations: 345.9 kB / 1.165 GB, free: 7.535 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.9785, allocations: 415 kB / 1.165 GB, free: 7.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.9785, allocations: 0 / 1.165 GB, free: 7.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001034/0.9796, allocations: 0.4886 MB / 1.166 GB, free: 6.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9796, allocations: 8 kB / 1.166 GB, free: 6.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.9796, allocations: 8 kB / 1.166 GB, free: 6.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.9796, allocations: 12.47 kB / 1.166 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.98, allocations: 96.39 kB / 1.166 GB, free: 6.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.98, allocations: 19.92 kB / 1.166 GB, free: 6.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.9808, allocations: 131 kB / 1.166 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.9809, allocations: 20 kB / 1.166 GB, free: 6.246 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002996/0.9812, allocations: 229.6 kB / 1.166 GB, free: 6.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9814, allocations: 75.14 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.9815, allocations: 70.11 kB / 1.167 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9815, allocations: 3.984 kB / 1.167 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.9815, allocations: 7.984 kB / 1.167 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9815, allocations: 3.938 kB / 1.167 GB, free: 5.852 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.983, allocations: 1.124 MB / 1.168 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.983, allocations: 8.25 kB / 1.168 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.9831, allocations: 19.94 kB / 1.168 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9831, allocations: 4 kB / 1.168 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.9831, allocations: 7.984 kB / 1.168 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.9831, allocations: 4 kB / 1.168 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9831, allocations: 0 / 1.168 GB, free: 4.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.9835, allocations: 263.8 kB / 1.168 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.9837, allocations: 168.3 kB / 1.168 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.9838, allocations: 12.05 kB / 1.168 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.9842, allocations: 35.92 kB / 1.168 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.9842, allocations: 11.92 kB / 1.168 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.9843, allocations: 4 kB / 1.168 GB, free: 4.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008744/0.9851, allocations: 0.5927 MB / 1.169 GB, free: 3.453 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9851, allocations: 0 / 1.169 GB, free: 3.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005961/0.9857, allocations: 155.8 kB / 1.169 GB, free: 3.301 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.000538/0.9863, allocations: 189.1 kB / 1.169 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.9869, allocations: 237.3 kB / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9869, allocations: 64 / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.9869, allocations: 47.86 kB / 1.169 GB, free: 2.848 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.989, allocations: 372.9 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.9909, allocations: 1.333 MB / 1.171 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.9915, allocations: 0.9372 MB / 1.172 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.9917, allocations: 51.44 kB / 1.172 GB, free: 84 kB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/0.9917, allocations: 0 / 1.172 GB, free: 84 kB / 0.92 GB Notification: Performance of Templates: time 0.01845/1.01, allocations: 10.53 MB / 1.182 GB, free: 5.668 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches