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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9184, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2269/1.145, allocations: 190.4 MB / 1.449 GB, free: 8.555 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01244/1.158, allocations: 5.703 MB / 1.454 GB, free: 3.91 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/1.16, allocations: 41.5 kB / 1.454 GB, free: 3.895 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/1.162, allocations: 0.5714 MB / 1.455 GB, free: 3.355 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/1.166, allocations: 1.602 MB / 1.456 GB, free: 1.746 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/1.17, allocations: 1.206 MB / 1.457 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003734/1.174, allocations: 2.504 MB / 1.46 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/1.175, allocations: 0.9886 MB / 1.461 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/1.177, allocations: 1.191 MB / 1.462 GB, free: 11.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/1.179, allocations: 0.8027 MB / 1.463 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/1.179, allocations: 107.9 kB / 1.463 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/1.182, allocations: 1.516 MB / 1.464 GB, free: 9.414 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/1.183, allocations: 486.8 kB / 1.465 GB, free: 8.938 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007411/1.184, allocations: 0.63 MB / 1.465 GB, free: 8.305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/1.187, allocations: 2.114 MB / 1.468 GB, free: 6.184 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.187, allocations: 0 / 1.468 GB, free: 6.184 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.246e-06/1.187, allocations: 0 / 1.468 GB, free: 6.184 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.719e-05/1.187, allocations: 3.938 kB / 1.468 GB, free: 6.18 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.002618/1.19, allocations: 1.509 MB / 1.469 GB, free: 4.613 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.19, allocations: 12.03 kB / 1.469 GB, free: 4.602 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.192, allocations: 335 kB / 1.469 GB, free: 4.273 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.193, allocations: 0.82 MB / 1.47 GB, free: 3.414 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/1.193, allocations: 66 kB / 1.47 GB, free: 3.348 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.193, allocations: 84 kB / 1.47 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.195, allocations: 1.074 MB / 1.471 GB, free: 2.152 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.195, allocations: 3.938 kB / 1.471 GB, free: 2.148 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/1.195, allocations: 40 kB / 1.471 GB, free: 2.109 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/1.195, allocations: 33.98 kB / 1.471 GB, free: 2.074 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/1.197, allocations: 0.8313 MB / 1.472 GB, free: 1.246 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.005884/1.203, allocations: 4.429 MB / 1.477 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/1.203, allocations: 368.3 kB / 1.477 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/1.204, allocations: 209.3 kB / 1.477 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/1.204, allocations: 105.1 kB / 1.477 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.204, allocations: 46.41 kB / 1.477 GB, free: 11.75 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 3.035e-06/1.204, allocations: 0 / 1.477 GB, free: 11.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=38): time 0.002693/1.207, allocations: 1.345 MB / 1.479 GB, free: 10.36 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.207, allocations: 55.41 kB / 1.479 GB, free: 10.29 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.208, allocations: 1.001 MB / 1.48 GB, free: 9.266 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/1.208, allocations: 37.7 kB / 1.48 GB, free: 9.223 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.209, allocations: 0.5002 MB / 1.48 GB, free: 8.719 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/1.209, allocations: 142.8 kB / 1.48 GB, free: 8.578 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.209, allocations: 122.2 kB / 1.48 GB, free: 8.453 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.209, allocations: 330 kB / 1.481 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/1.21, allocations: 233.2 kB / 1.481 GB, free: 7.895 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/1.21, allocations: 431.3 kB / 1.481 GB, free: 7.402 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.002572/1.213, allocations: 1.217 MB / 1.482 GB, free: 6.086 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.213, allocations: 4 kB / 1.482 GB, free: 6.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001452/1.214, allocations: 0.7584 MB / 1.483 GB, free: 5.316 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.214, allocations: 16.11 kB / 1.483 GB, free: 5.301 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.214, allocations: 8 kB / 1.483 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/1.214, allocations: 11.94 kB / 1.483 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/1.215, allocations: 135.8 kB / 1.483 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.215, allocations: 15.92 kB / 1.483 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/1.216, allocations: 71.78 kB / 1.483 GB, free: 5.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/1.216, allocations: 24 kB / 1.484 GB, free: 5.039 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.0004587/1.216, allocations: 309.6 kB / 1.484 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.217, allocations: 103.3 kB / 1.484 GB, free: 4.625 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/1.217, allocations: 113 kB / 1.484 GB, free: 4.516 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.217, allocations: 8 kB / 1.484 GB, free: 4.508 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.217, allocations: 0 / 1.484 GB, free: 4.508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007586/1.218, allocations: 0.679 MB / 1.485 GB, free: 3.742 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/1.22, allocations: 1.593 MB / 1.486 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.22, allocations: 4 kB / 1.486 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/1.22, allocations: 87.89 kB / 1.486 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.22, allocations: 4 kB / 1.486 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/1.22, allocations: 12 kB / 1.486 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/1.22, allocations: 11.88 kB / 1.486 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.22, allocations: 7.938 kB / 1.486 GB, free: 1.918 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/1.222, allocations: 0.8391 MB / 1.487 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/1.222, allocations: 240.5 kB / 1.487 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.222, allocations: 15.94 kB / 1.487 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/1.223, allocations: 39.97 kB / 1.487 GB, free: 0.707 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/1.223, allocations: 31.84 kB / 1.487 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/1.223, allocations: 27.98 kB / 1.488 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00103/1.224, allocations: 0.7116 MB / 1.488 GB, free: 15.93 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/1.224, allocations: 0 / 1.488 GB, free: 15.93 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008174/1.225, allocations: 259.9 kB / 1.488 GB, free: 15.67 MB / 1.186 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.0004754/1.225, allocations: 195.3 kB / 1.489 GB, free: 15.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009529/1.226, allocations: 0.5001 MB / 1.489 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.226, allocations: 0 / 1.489 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/1.226, allocations: 193.4 kB / 1.489 GB, free: 14.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.229, allocations: 0.6237 MB / 1.49 GB, free: 14.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/1.232, allocations: 1.931 MB / 1.492 GB, free: 12.16 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.233, allocations: 1.095 MB / 1.493 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.233, allocations: 79.42 kB / 1.493 GB, free: 10.96 MB / 1.186 GB Notification: Performance of SimCode: time 1.042e-06/1.233, allocations: 0 / 1.493 GB, free: 10.96 MB / 1.186 GB Notification: Performance of Templates: time 0.02529/1.258, allocations: 16.49 MB / 1.509 GB, free: 10.61 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.498211563099176]