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.002143/0.002143, allocations: 88.05 kB / 19.44 MB, free: 332 kB / 13.93 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.002599/0.002599, allocations: 165.7 kB / 22.76 MB, free: 1.656 MB / 18.57 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.362/3.362, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.564e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8114/0.8114, allocations: 187.3 MB / 1.06 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008781/0.8202, allocations: 5.797 MB / 1.066 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.8215, allocations: 57.47 kB / 1.066 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.8228, allocations: 0.5474 MB / 1.067 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.8267, allocations: 1.72 MB / 1.068 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.83, allocations: 1.249 MB / 1.069 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.8335, allocations: 2.565 MB / 1.072 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.8347, allocations: 0.7317 MB / 1.073 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.8372, allocations: 1.544 MB / 1.074 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.839, allocations: 0.8037 MB / 1.075 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.8392, allocations: 101.9 kB / 1.075 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.8419, allocations: 1.268 MB / 1.076 GB, free: 47.08 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.8424, allocations: 0.5287 MB / 1.077 GB, free: 47.03 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.843, allocations: 461.2 kB / 1.077 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.8459, allocations: 2.168 MB / 1.079 GB, free: 46.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8459, allocations: 0 / 1.079 GB, free: 46.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8459, allocations: 0 / 1.079 GB, free: 46.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.8459, allocations: 0.8125 kB / 1.079 GB, free: 46.79 MB / 1.01 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.002213/0.8481, allocations: 1.616 MB / 1.081 GB, free: 45.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8481, allocations: 10.53 kB / 1.081 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.85, allocations: 419.5 kB / 1.081 GB, free: 45.86 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.8514, allocations: 0.7661 MB / 1.082 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.8514, allocations: 70.09 kB / 1.082 GB, free: 45.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.8516, allocations: 91.19 kB / 1.082 GB, free: 45.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.8532, allocations: 1.38 MB / 1.084 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.8532, allocations: 2.688 kB / 1.084 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.8533, allocations: 38.78 kB / 1.084 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.8534, allocations: 37.12 kB / 1.084 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.8545, allocations: 0.5377 MB / 1.084 GB, free: 44.84 MB / 1.01 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.004892/0.8594, allocations: 3.831 MB / 1.088 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.8599, allocations: 262.3 kB / 1.088 GB, free: 42.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.8601, allocations: 142.3 kB / 1.088 GB, free: 42.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.8602, allocations: 27.28 kB / 1.088 GB, free: 42.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.8603, allocations: 45.39 kB / 1.088 GB, free: 42.92 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.8603, allocations: 0.875 kB / 1.088 GB, free: 42.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.002244/0.8625, allocations: 1.011 MB / 1.089 GB, free: 42.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.8625, allocations: 60.09 kB / 1.089 GB, free: 42.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.8634, allocations: 0.8533 MB / 1.09 GB, free: 42.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.8635, allocations: 35.8 kB / 1.09 GB, free: 42.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.8638, allocations: 0.5993 MB / 1.091 GB, free: 41.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.8639, allocations: 158 kB / 1.091 GB, free: 41.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.8641, allocations: 155.2 kB / 1.091 GB, free: 41.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8643, allocations: 0.6026 MB / 1.092 GB, free: 41.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.8647, allocations: 139.6 kB / 1.092 GB, free: 41.31 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.8652, allocations: 471.9 kB / 1.092 GB, free: 40.95 MB / 1.01 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.002345/0.8675, allocations: 0.9388 MB / 1.093 GB, free: 40.63 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.8675, allocations: 3.781 kB / 1.093 GB, free: 40.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001411/0.8689, allocations: 0.5942 MB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.869, allocations: 8.156 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.869, allocations: 8.469 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.869, allocations: 13.09 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.8696, allocations: 136.4 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.8696, allocations: 9.438 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.8704, allocations: 43.25 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.8705, allocations: 27.81 kB / 1.094 GB, free: 40.55 MB / 1.01 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.0003917/0.8709, allocations: 267 kB / 1.094 GB, free: 40.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8711, allocations: 92.53 kB / 1.094 GB, free: 40.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.8713, allocations: 79.41 kB / 1.095 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8713, allocations: 7.219 kB / 1.095 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.8713, allocations: 2.031 kB / 1.095 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005292/0.8718, allocations: 0.579 MB / 1.095 GB, free: 39.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.8744, allocations: 1.499 MB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.8744, allocations: 5.062 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.8748, allocations: 83.62 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.8748, allocations: 5.406 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.8748, allocations: 15.03 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.8749, allocations: 9.047 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.8749, allocations: 8.219 kB / 1.097 GB, free: 39.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.8758, allocations: 0.7357 MB / 1.097 GB, free: 38.96 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.8762, allocations: 137.9 kB / 1.098 GB, free: 38.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.8763, allocations: 17.84 kB / 1.098 GB, free: 38.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.8769, allocations: 26.05 kB / 1.098 GB, free: 38.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.877, allocations: 38.36 kB / 1.098 GB, free: 38.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.8771, allocations: 26.34 kB / 1.098 GB, free: 38.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007136/0.8778, allocations: 0.5263 MB / 1.098 GB, free: 38.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8778, allocations: 0.875 kB / 1.098 GB, free: 38.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001015/0.8788, allocations: 257.9 kB / 1.098 GB, free: 38.77 MB / 1.01 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.000399/0.8792, allocations: 191.4 kB / 1.099 GB, free: 38.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008639/0.8801, allocations: 394.6 kB / 1.099 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8801, allocations: 2.875 kB / 1.099 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.8803, allocations: 161.7 kB / 1.099 GB, free: 38.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.8825, allocations: 459.9 kB / 1.1 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.8853, allocations: 1.682 MB / 1.101 GB, free: 37.72 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.8858, allocations: 489.7 kB / 1.102 GB, free: 37.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006993/0.8865, allocations: 181.6 kB / 1.102 GB, free: 37.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.8867, allocations: 62.5 kB / 1.102 GB, free: 37.59 MB / 1.01 GB Notification: Performance of SimCode: time 1.172e-06/0.8867, allocations: 1.062 kB / 1.102 GB, free: 37.59 MB / 1.01 GB Notification: Performance of Templates: time 0.0316/0.9183, allocations: 15.74 MB / 1.117 GB, free: 35.98 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] 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: 10.205629736999981]