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.0008703/0.0008703, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009075/0.0009075, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8779/0.8779, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 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 1.737/1.737, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.714e-06/1.714e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.154e-05, allocations: 5.375 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6505/0.6505, allocations: 165.5 MB / 1.163 GB, free: 11.9 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.665, allocations: 11.96 MB / 1.174 GB, free: 3.867 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.6667, allocations: 45.25 kB / 1.174 GB, free: 3.844 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.6681, allocations: 426.8 kB / 1.175 GB, free: 3.594 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.6712, allocations: 1.232 MB / 1.176 GB, free: 2.895 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.6731, allocations: 0.7594 MB / 1.177 GB, free: 2.504 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.6758, allocations: 2.024 MB / 1.179 GB, free: 1.555 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.6767, allocations: 0.5866 MB / 1.179 GB, free: 1.266 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.6808, allocations: 2.218 MB / 1.181 GB, free: 272 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.6821, allocations: 0.6069 MB / 1.182 GB, free: 80 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.6823, allocations: 83.66 kB / 1.182 GB, free: 76 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6838, allocations: 0.7378 MB / 1.183 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.6841, allocations: 413.8 kB / 1.183 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.6845, allocations: 353.2 kB / 1.183 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.6865, allocations: 1.514 MB / 1.185 GB, free: 14.95 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6865, allocations: 0 / 1.185 GB, free: 14.95 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6865, allocations: 0 / 1.185 GB, free: 14.95 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6865, allocations: 0 / 1.185 GB, free: 14.95 MB / 1.042 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.0014/0.6879, allocations: 1.177 MB / 1.186 GB, free: 14.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.6879, allocations: 11.03 kB / 1.186 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007278/0.6886, allocations: 216.5 kB / 1.186 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008008/0.6894, allocations: 0.6111 MB / 1.187 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.6895, allocations: 57.47 kB / 1.187 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.6896, allocations: 85.75 kB / 1.187 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/0.6906, allocations: 1.054 MB / 1.188 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6906, allocations: 1.5 kB / 1.188 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.6906, allocations: 37.97 kB / 1.188 GB, free: 12.96 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.6907, allocations: 33.56 kB / 1.188 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.6914, allocations: 0.6143 MB / 1.189 GB, free: 12.75 MB / 1.042 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.002853/0.6942, allocations: 3.581 MB / 1.192 GB, free: 9.918 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.6948, allocations: 455.7 kB / 1.193 GB, free: 9.695 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.695, allocations: 235.1 kB / 1.193 GB, free: 9.598 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.6952, allocations: 19.02 kB / 1.193 GB, free: 9.598 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.6952, allocations: 44.97 kB / 1.193 GB, free: 9.551 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.6952, allocations: 0 / 1.193 GB, free: 9.551 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.001974/0.6972, allocations: 1.527 MB / 1.194 GB, free: 8.688 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6972, allocations: 108 kB / 1.195 GB, free: 8.562 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.6977, allocations: 0.5391 MB / 1.195 GB, free: 8.309 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.6977, allocations: 36.08 kB / 1.195 GB, free: 8.27 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.6979, allocations: 434.2 kB / 1.195 GB, free: 7.93 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.698, allocations: 165.4 kB / 1.196 GB, free: 7.801 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.6981, allocations: 117.1 kB / 1.196 GB, free: 7.738 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6982, allocations: 375.8 kB / 1.196 GB, free: 7.395 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.6984, allocations: 188.9 kB / 1.196 GB, free: 7.328 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.6988, allocations: 0.5607 MB / 1.197 GB, free: 6.812 MB / 1.042 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.001427/0.7002, allocations: 1.103 MB / 1.198 GB, free: 6.234 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7002, allocations: 5.125 kB / 1.198 GB, free: 6.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007211/0.701, allocations: 0.6627 MB / 1.199 GB, free: 5.945 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.701, allocations: 8.188 kB / 1.199 GB, free: 5.945 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.701, allocations: 6.781 kB / 1.199 GB, free: 5.945 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.701, allocations: 8.344 kB / 1.199 GB, free: 5.945 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.7013, allocations: 124.4 kB / 1.199 GB, free: 5.934 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.7013, allocations: 20.12 kB / 1.199 GB, free: 5.926 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.7016, allocations: 22.38 kB / 1.199 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.7017, allocations: 33.31 kB / 1.199 GB, free: 5.91 MB / 1.042 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.0004/0.7021, allocations: 275.2 kB / 1.199 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.7022, allocations: 68.48 kB / 1.199 GB, free: 5.68 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.7023, allocations: 77.61 kB / 1.199 GB, free: 5.625 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7023, allocations: 5.688 kB / 1.199 GB, free: 5.625 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.7023, allocations: 1.344 kB / 1.199 GB, free: 5.625 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.7034, allocations: 0.6996 MB / 1.2 GB, free: 5.062 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.7054, allocations: 1.442 MB / 1.201 GB, free: 4.184 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7054, allocations: 3.406 kB / 1.201 GB, free: 4.184 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.7057, allocations: 96.22 kB / 1.201 GB, free: 4.176 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.7057, allocations: 5.625 kB / 1.201 GB, free: 4.176 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.7057, allocations: 25.16 kB / 1.201 GB, free: 4.164 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.7057, allocations: 6.719 kB / 1.201 GB, free: 4.164 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.7058, allocations: 10.78 kB / 1.201 GB, free: 4.16 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.7067, allocations: 0.8423 MB / 1.202 GB, free: 3.652 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.7069, allocations: 110.3 kB / 1.202 GB, free: 3.594 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.707, allocations: 14.45 kB / 1.202 GB, free: 3.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.7072, allocations: 18.81 kB / 1.202 GB, free: 3.582 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.7072, allocations: 36.92 kB / 1.202 GB, free: 3.574 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.7072, allocations: 24.78 kB / 1.202 GB, free: 3.566 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003239/0.7076, allocations: 362.4 kB / 1.203 GB, free: 3.406 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7076, allocations: 4 kB / 1.203 GB, free: 3.402 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006854/0.7083, allocations: 201 kB / 1.203 GB, free: 3.379 MB / 1.042 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.0004028/0.7087, allocations: 192.2 kB / 1.203 GB, free: 3.258 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006028/0.7093, allocations: 459.8 kB / 1.204 GB, free: 3.109 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7093, allocations: 1.125 kB / 1.204 GB, free: 3.109 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.7095, allocations: 200 kB / 1.204 GB, free: 3.043 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.7103, allocations: 335.1 kB / 1.204 GB, free: 2.953 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.7123, allocations: 1.611 MB / 1.206 GB, free: 1.98 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.7126, allocations: 438.4 kB / 1.206 GB, free: 1.844 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.7127, allocations: 57.03 kB / 1.206 GB, free: 1.832 MB / 1.042 GB Notification: Performance of SimCode: time 1.182e-06/0.7127, allocations: 0 / 1.206 GB, free: 1.832 MB / 1.042 GB Notification: Performance of Templates: time 0.01186/0.7246, allocations: 11.44 MB / 1.217 GB, free: 11.93 MB / 1.057 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.208314857445657]