Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001741/0.001741, allocations: 80.14 kB / 19.18 MB, free: 2.516 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.001951/0.001951, allocations: 159.3 kB / 22.46 MB, free: 5.375 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.935/2.935, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.227e-05/4.495e-05, allocations: 13.67 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9192/0.9192, allocations: 165.5 MB / 1.162 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.9321, allocations: 11.95 MB / 1.173 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.9333, allocations: 41.59 kB / 1.173 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.9347, allocations: 431.4 kB / 1.174 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.9378, allocations: 1.228 MB / 1.175 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.9396, allocations: 0.7713 MB / 1.176 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.9418, allocations: 2.021 MB / 1.178 GB, free: 44.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.9426, allocations: 0.5907 MB / 1.178 GB, free: 44.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.9471, allocations: 2.217 MB / 1.181 GB, free: 44.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.9489, allocations: 0.6046 MB / 1.181 GB, free: 44.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.9491, allocations: 81.81 kB / 1.181 GB, free: 44.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.9509, allocations: 0.7359 MB / 1.182 GB, free: 43.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004991/0.9514, allocations: 414.8 kB / 1.182 GB, free: 43.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.9519, allocations: 352.2 kB / 1.183 GB, free: 43.87 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.9542, allocations: 1.51 MB / 1.184 GB, free: 43.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9542, allocations: 1 kB / 1.184 GB, free: 43.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9542, allocations: 1.094 kB / 1.184 GB, free: 43.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.9542, allocations: 2.312 kB / 1.184 GB, free: 43.72 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00181/0.956, allocations: 1.167 MB / 1.185 GB, free: 43.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.956, allocations: 9.906 kB / 1.185 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.9573, allocations: 221.7 kB / 1.186 GB, free: 43.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.9585, allocations: 0.6065 MB / 1.186 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.9586, allocations: 56.66 kB / 1.186 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.9587, allocations: 78.88 kB / 1.186 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.9603, allocations: 1.057 MB / 1.187 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.9603, allocations: 5.375 kB / 1.187 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/0.9604, allocations: 32 kB / 1.187 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/0.9604, allocations: 29.55 kB / 1.187 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.9617, allocations: 0.6156 MB / 1.188 GB, free: 42.37 MB / 1.076 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.003895/0.9656, allocations: 3.583 MB / 1.191 GB, free: 40.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.9664, allocations: 461.2 kB / 1.192 GB, free: 39.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.9667, allocations: 237 kB / 1.192 GB, free: 39.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.9669, allocations: 21.47 kB / 1.192 GB, free: 39.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.9669, allocations: 42.97 kB / 1.192 GB, free: 39.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.9669, allocations: 1.062 kB / 1.192 GB, free: 39.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002859/0.9698, allocations: 1.522 MB / 1.194 GB, free: 39.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.9698, allocations: 109.9 kB / 1.194 GB, free: 39.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.9706, allocations: 0.5314 MB / 1.194 GB, free: 39.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.9706, allocations: 37.14 kB / 1.194 GB, free: 39.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.9709, allocations: 434.2 kB / 1.195 GB, free: 38.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.9711, allocations: 169.8 kB / 1.195 GB, free: 38.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.9713, allocations: 117.6 kB / 1.195 GB, free: 38.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9714, allocations: 376.7 kB / 1.195 GB, free: 38.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.9717, allocations: 187.2 kB / 1.196 GB, free: 38.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.9722, allocations: 0.5648 MB / 1.196 GB, free: 37.95 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.9746, allocations: 1.101 MB / 1.197 GB, free: 37.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.9746, allocations: 2.219 kB / 1.197 GB, free: 37.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001036/0.9756, allocations: 0.665 MB / 1.198 GB, free: 37.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.9757, allocations: 10.22 kB / 1.198 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9757, allocations: 6.375 kB / 1.198 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.9757, allocations: 10.62 kB / 1.198 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.9762, allocations: 125 kB / 1.198 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.9762, allocations: 15.53 kB / 1.198 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.9767, allocations: 27.47 kB / 1.198 GB, free: 37.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.9768, allocations: 28.62 kB / 1.198 GB, free: 37.44 MB / 1.076 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003744/0.9772, allocations: 282.5 kB / 1.198 GB, free: 37.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.9773, allocations: 67.42 kB / 1.198 GB, free: 37.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.9775, allocations: 75.23 kB / 1.198 GB, free: 37.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9775, allocations: 6.156 kB / 1.198 GB, free: 37.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.9775, allocations: 5.703 kB / 1.198 GB, free: 37.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006469/0.9781, allocations: 0.7023 MB / 1.199 GB, free: 36.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.9803, allocations: 1.438 MB / 1.201 GB, free: 35.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9803, allocations: 8.641 kB / 1.201 GB, free: 35.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.9808, allocations: 95.84 kB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.9808, allocations: 7.953 kB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.9808, allocations: 12.42 kB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.9808, allocations: 10.78 kB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.9809, allocations: 7.375 kB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.9819, allocations: 0.8467 MB / 1.201 GB, free: 35.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.9822, allocations: 112.6 kB / 1.202 GB, free: 35.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.9823, allocations: 16.97 kB / 1.202 GB, free: 35.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.9827, allocations: 18.25 kB / 1.202 GB, free: 35.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.9827, allocations: 41.11 kB / 1.202 GB, free: 35.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.9828, allocations: 20.61 kB / 1.202 GB, free: 35.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004374/0.9832, allocations: 362.6 kB / 1.202 GB, free: 35.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9832, allocations: 0 / 1.202 GB, free: 35.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008861/0.9841, allocations: 199.3 kB / 1.202 GB, free: 34.99 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004421/0.9845, allocations: 183.9 kB / 1.202 GB, free: 34.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.9854, allocations: 457.5 kB / 1.203 GB, free: 34.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9854, allocations: 1.812 kB / 1.203 GB, free: 34.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.9857, allocations: 211.5 kB / 1.203 GB, free: 34.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.9873, allocations: 331.8 kB / 1.203 GB, free: 34.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.9897, allocations: 1.555 MB / 1.205 GB, free: 33.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.9902, allocations: 440 kB / 1.205 GB, free: 33.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000578/0.9908, allocations: 169.8 kB / 1.205 GB, free: 33.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.991, allocations: 53.97 kB / 1.206 GB, free: 33.62 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.991, allocations: 0 / 1.206 GB, free: 33.62 MB / 1.076 GB Notification: Performance of Templates: time 0.02598/1.017, allocations: 11.64 MB / 1.217 GB, free: 32.35 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.681595660746098]