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.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.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.001238/0.001238, 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.002061/0.002061, allocations: 192.9 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.14 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7941, allocations: 140.4 MB / 0.9496 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2167/1.011, allocations: 187.1 MB / 1.132 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.03, allocations: 13.02 MB / 1.145 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/1.032, allocations: 31.81 kB / 1.145 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.034, allocations: 417.3 kB / 1.145 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/1.037, allocations: 0.9253 MB / 1.146 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/1.04, allocations: 0.695 MB / 1.147 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002679/1.043, allocations: 1.508 MB / 1.148 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/1.044, allocations: 0.6469 MB / 1.149 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/1.048, allocations: 1.724 MB / 1.151 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/1.05, allocations: 0.4993 MB / 1.151 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/1.05, allocations: 56 kB / 1.151 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/1.052, allocations: 0.8731 MB / 1.152 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/1.052, allocations: 279.2 kB / 1.152 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/1.053, allocations: 386 kB / 1.153 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/1.054, allocations: 1.149 MB / 1.154 GB, free: 15.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.055, allocations: 11.94 kB / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.194e-06/1.055, allocations: 0 / 1.154 GB, free: 15.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.055, allocations: 0 / 1.154 GB, free: 15.92 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.0016/1.056, allocations: 1.04 MB / 1.155 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.056, allocations: 8.031 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.057, allocations: 198.7 kB / 1.155 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/1.058, allocations: 0.5208 MB / 1.156 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/1.058, allocations: 101.2 kB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/1.058, allocations: 56 kB / 1.156 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.06, allocations: 0.7789 MB / 1.157 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/1.06, allocations: 3.938 kB / 1.157 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/1.06, allocations: 31.94 kB / 1.157 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/1.06, allocations: 24.98 kB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/1.061, allocations: 479.1 kB / 1.157 GB, free: 12.5 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.004618/1.066, allocations: 4.402 MB / 1.161 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/1.066, allocations: 114.4 kB / 1.162 GB, free: 7.715 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/1.066, allocations: 67.5 kB / 1.162 GB, free: 7.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.066, allocations: 93.09 kB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.066, allocations: 42.56 kB / 1.162 GB, free: 7.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.003e-06/1.066, allocations: 0 / 1.162 GB, free: 7.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0007608/1.067, allocations: 244.5 kB / 1.162 GB, free: 7.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/1.067, allocations: 136.7 kB / 1.162 GB, free: 7.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.068, allocations: 0.8447 MB / 1.163 GB, free: 6.207 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.068, allocations: 29.7 kB / 1.163 GB, free: 6.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/1.069, allocations: 398.9 kB / 1.163 GB, free: 5.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/1.069, allocations: 47.45 kB / 1.163 GB, free: 5.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.069, allocations: 89.88 kB / 1.163 GB, free: 5.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.069, allocations: 321.9 kB / 1.164 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/1.069, allocations: 120.7 kB / 1.164 GB, free: 5.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/1.07, allocations: 365.7 kB / 1.164 GB, free: 4.727 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/1.071, allocations: 453.5 kB / 1.165 GB, free: 4.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.071, allocations: 4 kB / 1.165 GB, free: 4.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001106/1.072, allocations: 0.5045 MB / 1.165 GB, free: 3.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.072, allocations: 8 kB / 1.165 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.072, allocations: 8 kB / 1.165 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.072, allocations: 12.47 kB / 1.165 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/1.072, allocations: 95.83 kB / 1.165 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/1.072, allocations: 19.86 kB / 1.165 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/1.073, allocations: 127.2 kB / 1.165 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.073, allocations: 24 kB / 1.165 GB, free: 3.371 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0003028/1.073, allocations: 229.6 kB / 1.166 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.073, allocations: 75.06 kB / 1.166 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/1.074, allocations: 78.16 kB / 1.166 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.074, allocations: 0 / 1.166 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.074, allocations: 4 kB / 1.166 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.074, allocations: 3.938 kB / 1.166 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/1.075, allocations: 1.117 MB / 1.167 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.075, allocations: 0 / 1.167 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/1.075, allocations: 23.92 kB / 1.167 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.075, allocations: 4 kB / 1.167 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.075, allocations: 4 kB / 1.167 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.075, allocations: 4 kB / 1.167 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.075, allocations: 4 kB / 1.167 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/1.075, allocations: 267.8 kB / 1.167 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.076, allocations: 176.1 kB / 1.167 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.076, allocations: 8 kB / 1.167 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/1.076, allocations: 15.98 kB / 1.167 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/1.076, allocations: 11.92 kB / 1.167 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/1.076, allocations: 16.06 kB / 1.167 GB, free: 1.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008367/1.077, allocations: 0.5849 MB / 1.168 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.077, allocations: 0 / 1.168 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006005/1.078, allocations: 155.8 kB / 1.168 GB, free: 460 kB / 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.0004637/1.078, allocations: 201 kB / 1.168 GB, free: 272 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005765/1.079, allocations: 248.9 kB / 1.169 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.079, allocations: 4.562 kB / 1.169 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/1.079, allocations: 51.84 kB / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.081, allocations: 374.8 kB / 1.169 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/1.082, allocations: 1.069 MB / 1.17 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/1.083, allocations: 0.9408 MB / 1.171 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005914/1.084, allocations: 142.1 kB / 1.171 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.084, allocations: 51.42 kB / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/1.084, allocations: 0 / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.02358/1.107, allocations: 11.75 MB / 1.183 GB, free: 1.781 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches