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.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.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.00109/0.00109, allocations: 99.92 kB / 16.35 MB, free: 5.824 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.001187/0.001187, allocations: 193 kB / 17.29 MB, free: 5.48 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.407/2.407, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 66 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3392, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7336/1.073, allocations: 190.3 MB / 1.137 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008893/1.082, allocations: 5.688 MB / 1.143 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/1.084, allocations: 41.25 kB / 1.143 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.086, allocations: 0.5691 MB / 1.143 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005008/1.091, allocations: 1.607 MB / 1.145 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/1.095, allocations: 1.201 MB / 1.146 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004362/1.099, allocations: 2.509 MB / 1.148 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/1.101, allocations: 0.9921 MB / 1.149 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/1.103, allocations: 1.027 MB / 1.15 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/1.104, allocations: 0.8192 MB / 1.151 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.104, allocations: 100.3 kB / 1.151 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/1.108, allocations: 1.532 MB / 1.153 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/1.109, allocations: 493.5 kB / 1.153 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007081/1.109, allocations: 0.6214 MB / 1.154 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003246/1.113, allocations: 2.103 MB / 1.156 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.113, allocations: 0 / 1.156 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.113, allocations: 0 / 1.156 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.367e-05/1.113, allocations: 0.9375 kB / 1.156 GB, free: 1.641 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.002536/1.115, allocations: 1.476 MB / 1.157 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.115, allocations: 9 kB / 1.157 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.117, allocations: 337.8 kB / 1.158 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.119, allocations: 0.8087 MB / 1.158 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/1.119, allocations: 59.94 kB / 1.158 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.119, allocations: 86.23 kB / 1.159 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.121, allocations: 1.069 MB / 1.16 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.121, allocations: 9 kB / 1.16 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/1.121, allocations: 39.94 kB / 1.16 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/1.121, allocations: 32.62 kB / 1.16 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/1.122, allocations: 0.8319 MB / 1.16 GB, free: 15.29 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.00632/1.129, allocations: 4.261 MB / 1.165 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/1.129, allocations: 368.3 kB / 1.165 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/1.13, allocations: 212.7 kB / 1.165 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.13, allocations: 102 kB / 1.165 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.13, allocations: 38.47 kB / 1.165 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 3.367e-06/1.13, allocations: 3.984 kB / 1.165 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.002921/1.133, allocations: 1.34 MB / 1.167 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.133, allocations: 58.75 kB / 1.167 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.134, allocations: 0.9982 MB / 1.168 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/1.134, allocations: 33.73 kB / 1.168 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/1.135, allocations: 0.4925 MB / 1.168 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.135, allocations: 142.1 kB / 1.168 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/1.135, allocations: 125.3 kB / 1.168 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.135, allocations: 327.3 kB / 1.169 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/1.136, allocations: 237.1 kB / 1.169 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/1.136, allocations: 419.4 kB / 1.169 GB, free: 9.438 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.002322/1.139, allocations: 1.225 MB / 1.171 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.139, allocations: 2.5 kB / 1.171 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0014/1.14, allocations: 0.7661 MB / 1.171 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.14, allocations: 7.688 kB / 1.171 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.14, allocations: 13.53 kB / 1.171 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.14, allocations: 13.44 kB / 1.171 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/1.141, allocations: 145.1 kB / 1.171 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.141, allocations: 8.781 kB / 1.171 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/1.142, allocations: 59.2 kB / 1.172 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/1.142, allocations: 24.81 kB / 1.172 GB, free: 8.422 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.0004218/1.142, allocations: 312.5 kB / 1.172 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.142, allocations: 96.38 kB / 1.172 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/1.143, allocations: 104.3 kB / 1.172 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.143, allocations: 8.062 kB / 1.172 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.143, allocations: 4 kB / 1.172 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006982/1.143, allocations: 0.6744 MB / 1.173 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/1.146, allocations: 1.583 MB / 1.174 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.146, allocations: 6.406 kB / 1.174 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/1.146, allocations: 84.64 kB / 1.174 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.146, allocations: 5.844 kB / 1.174 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/1.146, allocations: 13.06 kB / 1.174 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.146, allocations: 9.719 kB / 1.174 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.146, allocations: 8.375 kB / 1.174 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/1.147, allocations: 0.837 MB / 1.175 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/1.148, allocations: 242.3 kB / 1.175 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.148, allocations: 19.92 kB / 1.175 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/1.148, allocations: 38.62 kB / 1.175 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.148, allocations: 28.09 kB / 1.176 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/1.148, allocations: 30.17 kB / 1.176 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009147/1.149, allocations: 0.709 MB / 1.176 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.073e-06/1.149, allocations: 0 / 1.176 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007896/1.15, allocations: 261.4 kB / 1.176 GB, free: 5.633 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.0004413/1.151, allocations: 203.1 kB / 1.177 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008133/1.151, allocations: 0.4913 MB / 1.177 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.151, allocations: 6.844 kB / 1.177 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.152, allocations: 192 kB / 1.177 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/1.154, allocations: 0.6279 MB / 1.178 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.157, allocations: 1.836 MB / 1.18 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/1.157, allocations: 1.102 MB / 1.181 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007005/1.158, allocations: 256.7 kB / 1.181 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/1.158, allocations: 68.72 kB / 1.181 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/1.158, allocations: 0 / 1.181 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of Templates: time 0.03027/1.188, allocations: 19.73 MB / 1.2 GB, free: 9.184 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 -s cvode -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