Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 102.3 kB / 16.27 MB, free: 6.348 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.001257/0.001258, allocations: 188.7 kB / 17.2 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.174/2.174, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 62.42 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2734, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7844/1.058, allocations: 190.3 MB / 1.136 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.068, allocations: 5.695 MB / 1.142 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/1.07, allocations: 41.91 kB / 1.142 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/1.072, allocations: 0.5655 MB / 1.142 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/1.077, allocations: 1.61 MB / 1.144 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/1.08, allocations: 1.187 MB / 1.145 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004119/1.084, allocations: 2.508 MB / 1.147 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.086, allocations: 0.99 MB / 1.148 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/1.089, allocations: 1.026 MB / 1.149 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/1.09, allocations: 0.8168 MB / 1.15 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/1.091, allocations: 102.1 kB / 1.15 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/1.095, allocations: 1.525 MB / 1.152 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005856/1.095, allocations: 0.4888 MB / 1.152 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008109/1.096, allocations: 0.619 MB / 1.153 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/1.1, allocations: 2.09 MB / 1.155 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.1, allocations: 1.125 kB / 1.155 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/1.1, allocations: 0 / 1.155 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.999e-05/1.1, allocations: 0 / 1.155 GB, free: 1.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002869/1.103, allocations: 1.469 MB / 1.156 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/1.103, allocations: 9.406 kB / 1.156 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/1.105, allocations: 337.5 kB / 1.157 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/1.106, allocations: 0.7705 MB / 1.157 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/1.107, allocations: 119.6 kB / 1.158 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.107, allocations: 86.81 kB / 1.158 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/1.109, allocations: 1.085 MB / 1.159 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.109, allocations: 3.938 kB / 1.159 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/1.109, allocations: 37.88 kB / 1.159 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/1.109, allocations: 39.78 kB / 1.159 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/1.11, allocations: 0.8401 MB / 1.16 GB, free: 15.62 MB / 0.8731 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.005848/1.116, allocations: 4.304 MB / 1.164 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/1.117, allocations: 369.7 kB / 1.164 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/1.117, allocations: 215.7 kB / 1.164 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/1.117, allocations: 100.2 kB / 1.164 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.118, allocations: 37.31 kB / 1.165 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/1.118, allocations: 1.562 kB / 1.165 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.002787/1.12, allocations: 1.335 MB / 1.166 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.12, allocations: 59.53 kB / 1.166 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.122, allocations: 1.008 MB / 1.167 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/1.122, allocations: 36.23 kB / 1.167 GB, free: 11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/1.122, allocations: 500 kB / 1.167 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.122, allocations: 138.3 kB / 1.168 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.123, allocations: 125.7 kB / 1.168 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.123, allocations: 327.2 kB / 1.168 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/1.123, allocations: 239.7 kB / 1.168 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/1.124, allocations: 432.2 kB / 1.169 GB, free: 9.754 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/1.126, allocations: 1.223 MB / 1.17 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.126, allocations: 9 kB / 1.17 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0015/1.128, allocations: 0.7718 MB / 1.171 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.128, allocations: 7.5 kB / 1.171 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.128, allocations: 6.062 kB / 1.171 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.128, allocations: 12.41 kB / 1.171 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/1.129, allocations: 152 kB / 1.171 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.129, allocations: 8.375 kB / 1.171 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.13, allocations: 64.34 kB / 1.171 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/1.13, allocations: 35.95 kB / 1.171 GB, free: 8.73 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004855/1.13, allocations: 310.4 kB / 1.171 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.13, allocations: 97.75 kB / 1.171 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/1.131, allocations: 103.7 kB / 1.171 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.131, allocations: 4.125 kB / 1.171 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.131, allocations: 0 / 1.171 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006628/1.131, allocations: 0.6786 MB / 1.172 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.134, allocations: 1.585 MB / 1.174 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.134, allocations: 8.906 kB / 1.174 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/1.134, allocations: 85.69 kB / 1.174 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.134, allocations: 4.906 kB / 1.174 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/1.134, allocations: 18.16 kB / 1.174 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.134, allocations: 12.91 kB / 1.174 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.134, allocations: 6.609 kB / 1.174 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.135, allocations: 0.8295 MB / 1.174 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/1.136, allocations: 242.3 kB / 1.175 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/1.136, allocations: 16.36 kB / 1.175 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/1.137, allocations: 42.02 kB / 1.175 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/1.137, allocations: 30.94 kB / 1.175 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/1.137, allocations: 25.91 kB / 1.175 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001154/1.138, allocations: 0.7122 MB / 1.175 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.138, allocations: 10.56 kB / 1.175 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00101/1.139, allocations: 261.7 kB / 1.176 GB, free: 5.934 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005317/1.14, allocations: 191.9 kB / 1.176 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.141, allocations: 0.5406 MB / 1.176 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.141, allocations: 0 / 1.176 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/1.141, allocations: 189.8 kB / 1.177 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.144, allocations: 0.635 MB / 1.177 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/1.147, allocations: 1.925 MB / 1.179 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/1.148, allocations: 1.101 MB / 1.18 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.148, allocations: 81.64 kB / 1.18 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/1.148, allocations: 0 / 1.18 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of Templates: time 0.02832/1.177, allocations: 16.37 MB / 1.196 GB, free: 10.87 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches