Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001584/0.001584, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001833/0.001833, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.837, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2395/1.077, allocations: 190.3 MB / 1.412 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009499/1.086, allocations: 5.718 MB / 1.418 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/1.088, allocations: 39.75 kB / 1.418 GB, free: 8.676 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/1.089, allocations: 0.5826 MB / 1.418 GB, free: 8.09 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004266/1.093, allocations: 1.672 MB / 1.42 GB, free: 6.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/1.097, allocations: 1.205 MB / 1.421 GB, free: 5.211 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003495/1.1, allocations: 2.512 MB / 1.424 GB, free: 2.695 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/1.102, allocations: 1.004 MB / 1.425 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/1.103, allocations: 1.059 MB / 1.426 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/1.105, allocations: 0.8132 MB / 1.426 GB, free: 15.8 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/1.105, allocations: 100 kB / 1.427 GB, free: 15.7 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/1.108, allocations: 1.536 MB / 1.428 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/1.109, allocations: 0.4909 MB / 1.429 GB, free: 13.67 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006956/1.11, allocations: 0.6183 MB / 1.429 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/1.113, allocations: 2.118 MB / 1.431 GB, free: 10.92 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.113, allocations: 0 / 1.431 GB, free: 10.92 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.303e-06/1.113, allocations: 0 / 1.431 GB, free: 10.92 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.113, allocations: 0 / 1.431 GB, free: 10.92 MB / 1.154 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.002229/1.115, allocations: 1.506 MB / 1.433 GB, free: 9.359 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.115, allocations: 12.03 kB / 1.433 GB, free: 9.348 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.117, allocations: 335 kB / 1.433 GB, free: 9.02 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.118, allocations: 0.8239 MB / 1.434 GB, free: 8.156 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/1.119, allocations: 62 kB / 1.434 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.119, allocations: 87.98 kB / 1.434 GB, free: 8.008 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/1.121, allocations: 1.067 MB / 1.435 GB, free: 6.902 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.121, allocations: 0 / 1.435 GB, free: 6.902 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/1.121, allocations: 43.94 kB / 1.435 GB, free: 6.859 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/1.121, allocations: 34 kB / 1.435 GB, free: 6.824 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/1.122, allocations: 0.8353 MB / 1.436 GB, free: 5.992 MB / 1.154 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.005639/1.128, allocations: 4.267 MB / 1.44 GB, free: 1.453 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/1.129, allocations: 365.5 kB / 1.44 GB, free: 1.09 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/1.129, allocations: 216.7 kB / 1.441 GB, free: 0.875 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.129, allocations: 105.7 kB / 1.441 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.129, allocations: 38.56 kB / 1.441 GB, free: 0.707 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 3.066e-06/1.129, allocations: 0 / 1.441 GB, free: 0.707 MB / 1.154 GB Notification: Performance of matching and sorting (n=38): time 0.002453/1.132, allocations: 1.352 MB / 1.442 GB, free: 15.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.132, allocations: 63.16 kB / 1.442 GB, free: 15.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.133, allocations: 1.008 MB / 1.443 GB, free: 14.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/1.133, allocations: 33.7 kB / 1.443 GB, free: 14.16 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.133, allocations: 0.4963 MB / 1.444 GB, free: 13.66 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.134, allocations: 142.8 kB / 1.444 GB, free: 13.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.134, allocations: 126.2 kB / 1.444 GB, free: 13.39 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.134, allocations: 330 kB / 1.444 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/1.134, allocations: 233.2 kB / 1.444 GB, free: 12.83 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/1.135, allocations: 419.9 kB / 1.445 GB, free: 12.34 MB / 1.17 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.002503/1.137, allocations: 1.219 MB / 1.446 GB, free: 11.03 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.137, allocations: 3.938 kB / 1.446 GB, free: 11.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001418/1.139, allocations: 0.7811 MB / 1.447 GB, free: 10.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.139, allocations: 9.562 kB / 1.447 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.139, allocations: 4 kB / 1.447 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/1.139, allocations: 12.38 kB / 1.447 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/1.14, allocations: 147.8 kB / 1.447 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.14, allocations: 11.98 kB / 1.447 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/1.14, allocations: 59.84 kB / 1.447 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/1.141, allocations: 28 kB / 1.447 GB, free: 9.969 MB / 1.17 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.0004953/1.141, allocations: 312.9 kB / 1.447 GB, free: 9.656 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/1.141, allocations: 103.4 kB / 1.447 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/1.141, allocations: 105 kB / 1.448 GB, free: 9.449 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007276/1.142, allocations: 0.6752 MB / 1.448 GB, free: 8.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.142, allocations: 0 / 1.448 GB, free: 8.688 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/1.143, allocations: 236.4 kB / 1.448 GB, free: 8.438 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.143, allocations: 12 kB / 1.448 GB, free: 8.426 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/1.143, allocations: 27.97 kB / 1.448 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.143, allocations: 23.97 kB / 1.449 GB, free: 8.375 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009887/1.144, allocations: 0.5278 MB / 1.449 GB, free: 7.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001058/1.145, allocations: 0.8535 MB / 1.45 GB, free: 6.969 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002557/1.146, allocations: 188.3 kB / 1.45 GB, free: 6.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009952/1.147, allocations: 0.6997 MB / 1.451 GB, free: 6.074 MB / 1.17 GB Notification: Performance of Backend: time 4.41e-07/1.147, allocations: 3.938 kB / 1.451 GB, free: 6.07 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002197/1.149, allocations: 0.7492 MB / 1.451 GB, free: 5.324 MB / 1.17 GB Notification: Performance of SimCode: time 0.004122/1.153, allocations: 2.626 MB / 1.454 GB, free: 2.648 MB / 1.17 GB Notification: Performance of Templates: time 0.03819/1.191, allocations: 22.97 MB / 1.476 GB, free: 11.93 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches