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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.007/3.007, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.69 kB / 1.184 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 181.4 MB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2099/0.5324, allocations: 194.4 MB / 1.551 GB, free: 13.04 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.009691/0.5421, allocations: 5.752 MB / 1.557 GB, free: 7.277 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.5432, allocations: 55.56 kB / 1.557 GB, free: 7.223 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.5447, allocations: 0.5981 MB / 1.557 GB, free: 6.621 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.5485, allocations: 1.692 MB / 1.559 GB, free: 4.922 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5514, allocations: 1.257 MB / 1.56 GB, free: 3.672 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003124/0.5546, allocations: 2.57 MB / 1.563 GB, free: 1.094 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5556, allocations: 0.7161 MB / 1.564 GB, free: 368 kB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.5577, allocations: 1.253 MB / 1.565 GB, free: 15.1 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.5593, allocations: 0.8667 MB / 1.566 GB, free: 14.24 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5595, allocations: 104 kB / 1.566 GB, free: 14.14 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.5623, allocations: 1.606 MB / 1.567 GB, free: 12.53 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.5628, allocations: 0.4947 MB / 1.568 GB, free: 12.03 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.5634, allocations: 0.6261 MB / 1.568 GB, free: 11.4 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.566, allocations: 2.114 MB / 1.57 GB, free: 9.281 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.566, allocations: 4 kB / 1.57 GB, free: 9.277 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5661, allocations: 3.938 kB / 1.57 GB, free: 9.273 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.5661, allocations: 0 / 1.57 GB, free: 9.273 MB / 1.264 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.00225/0.5683, allocations: 1.438 MB / 1.572 GB, free: 7.797 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5684, allocations: 16.02 kB / 1.572 GB, free: 7.781 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5702, allocations: 338.9 kB / 1.572 GB, free: 7.449 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5715, allocations: 0.7401 MB / 1.573 GB, free: 6.684 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.5716, allocations: 66 kB / 1.573 GB, free: 6.617 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5717, allocations: 87.95 kB / 1.573 GB, free: 6.531 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.5734, allocations: 1.074 MB / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.5734, allocations: 3.938 kB / 1.574 GB, free: 5.414 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.5735, allocations: 40 kB / 1.574 GB, free: 5.375 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.5735, allocations: 30 kB / 1.574 GB, free: 5.344 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.575, allocations: 0.8314 MB / 1.575 GB, free: 4.516 MB / 1.264 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.005597/0.5806, allocations: 4.36 MB / 1.579 GB, free: 15.84 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.5812, allocations: 352.7 kB / 1.58 GB, free: 15.49 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.5815, allocations: 202.8 kB / 1.58 GB, free: 15.29 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.5817, allocations: 23.98 kB / 1.58 GB, free: 15.27 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.5817, allocations: 38.56 kB / 1.58 GB, free: 15.22 MB / 1.279 GB Notification: Performance of pre-optimization done (n=36): time 1.764e-06/0.5817, allocations: 4 kB / 1.58 GB, free: 15.22 MB / 1.279 GB Notification: Performance of matching and sorting (n=38): time 0.002295/0.584, allocations: 1.274 MB / 1.581 GB, free: 13.91 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5841, allocations: 59.16 kB / 1.581 GB, free: 13.84 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.5854, allocations: 1.008 MB / 1.582 GB, free: 12.81 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.5854, allocations: 33.7 kB / 1.582 GB, free: 12.77 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.5858, allocations: 0.4963 MB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5859, allocations: 146.8 kB / 1.583 GB, free: 12.13 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.5861, allocations: 118.2 kB / 1.583 GB, free: 12.01 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5862, allocations: 330 kB / 1.583 GB, free: 11.68 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.5867, allocations: 241.2 kB / 1.583 GB, free: 11.45 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.5873, allocations: 419.8 kB / 1.584 GB, free: 10.96 MB / 1.279 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.00236/0.5897, allocations: 1.146 MB / 1.585 GB, free: 9.73 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5897, allocations: 0 / 1.585 GB, free: 9.73 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001307/0.591, allocations: 0.7775 MB / 1.586 GB, free: 8.945 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.591, allocations: 4 kB / 1.586 GB, free: 8.941 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.591, allocations: 8 kB / 1.586 GB, free: 8.934 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.591, allocations: 11.94 kB / 1.586 GB, free: 8.922 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.5916, allocations: 144.1 kB / 1.586 GB, free: 8.781 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.5916, allocations: 19.94 kB / 1.586 GB, free: 8.762 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.5923, allocations: 51.94 kB / 1.586 GB, free: 8.711 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.5924, allocations: 24 kB / 1.586 GB, free: 8.688 MB / 1.279 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.000387/0.5928, allocations: 317.5 kB / 1.586 GB, free: 8.367 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5929, allocations: 103.3 kB / 1.586 GB, free: 8.266 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.5931, allocations: 112.9 kB / 1.587 GB, free: 8.156 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5931, allocations: 4 kB / 1.587 GB, free: 8.152 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5931, allocations: 0 / 1.587 GB, free: 8.152 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007022/0.5938, allocations: 0.6791 MB / 1.587 GB, free: 7.387 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.5961, allocations: 1.548 MB / 1.589 GB, free: 5.738 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5961, allocations: 4 kB / 1.589 GB, free: 5.734 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.5965, allocations: 91.83 kB / 1.589 GB, free: 5.645 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5965, allocations: 4 kB / 1.589 GB, free: 5.641 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5965, allocations: 12 kB / 1.589 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.5965, allocations: 8.438 kB / 1.589 GB, free: 5.621 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.5965, allocations: 12 kB / 1.589 GB, free: 5.609 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.5976, allocations: 0.8333 MB / 1.59 GB, free: 4.711 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.5979, allocations: 167.3 kB / 1.59 GB, free: 4.547 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5981, allocations: 19.94 kB / 1.59 GB, free: 4.527 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.5987, allocations: 38.34 kB / 1.59 GB, free: 4.492 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.5987, allocations: 39.83 kB / 1.59 GB, free: 4.453 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.5988, allocations: 31.98 kB / 1.59 GB, free: 4.422 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009949/0.5998, allocations: 0.7038 MB / 1.591 GB, free: 3.707 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5998, allocations: 0 / 1.591 GB, free: 3.707 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007395/0.6005, allocations: 251.9 kB / 1.591 GB, free: 3.461 MB / 1.279 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.000331/0.6009, allocations: 197.4 kB / 1.591 GB, free: 3.258 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0008558/0.6017, allocations: 492.5 kB / 1.592 GB, free: 2.777 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6017, allocations: 4 kB / 1.592 GB, free: 2.773 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.602, allocations: 183.9 kB / 1.592 GB, free: 2.594 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.6044, allocations: 0.6142 MB / 1.592 GB, free: 1.988 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.6072, allocations: 1.878 MB / 1.594 GB, free: 32 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.6079, allocations: 1.095 MB / 1.595 GB, free: 14.91 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006757/0.6086, allocations: 248.4 kB / 1.595 GB, free: 14.66 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.6088, allocations: 71.44 kB / 1.595 GB, free: 14.59 MB / 1.295 GB Notification: Performance of SimCode: time 3.3e-07/0.6088, allocations: 0 / 1.595 GB, free: 14.59 MB / 1.295 GB Notification: Performance of Templates: time 0.6123/1.221, allocations: 20.48 MB / 1.615 GB, free: 242.1 MB / 1.295 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.455927148927003]