Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001466/0.001466, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001663/0.001663, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.926/2.926, allocations: 0.49 GB / 0.7958 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.001871/0.001871, allocations: 70.58 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3031, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.205/0.5081, allocations: 191.2 MB / 1.514 GB, free: 1.488 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.5238, allocations: 13.26 MB / 1.527 GB, free: 4.199 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.5248, allocations: 43.62 kB / 1.527 GB, free: 4.156 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.526, allocations: 437.1 kB / 1.527 GB, free: 3.727 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.5286, allocations: 1.229 MB / 1.529 GB, free: 2.492 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.5303, allocations: 0.7429 MB / 1.529 GB, free: 1.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.5327, allocations: 2.064 MB / 1.531 GB, free: 15.68 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.5335, allocations: 0.6177 MB / 1.532 GB, free: 15.04 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.5374, allocations: 2.051 MB / 1.534 GB, free: 12.98 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.5389, allocations: 0.6936 MB / 1.535 GB, free: 12.29 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.539, allocations: 80 kB / 1.535 GB, free: 12.21 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5405, allocations: 0.9354 MB / 1.536 GB, free: 11.27 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.5409, allocations: 398.8 kB / 1.536 GB, free: 10.88 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.5414, allocations: 0.4976 MB / 1.536 GB, free: 10.38 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.5433, allocations: 1.502 MB / 1.538 GB, free: 8.871 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5433, allocations: 0 / 1.538 GB, free: 8.871 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5433, allocations: 0 / 1.538 GB, free: 8.871 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.5433, allocations: 3.938 kB / 1.538 GB, free: 8.867 MB / 1.233 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.00172/0.545, allocations: 1.193 MB / 1.539 GB, free: 7.641 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.545, allocations: 8.031 kB / 1.539 GB, free: 7.633 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.5461, allocations: 219.2 kB / 1.539 GB, free: 7.418 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.5472, allocations: 0.6077 MB / 1.54 GB, free: 6.781 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.5473, allocations: 61.98 kB / 1.54 GB, free: 6.723 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5474, allocations: 79.95 kB / 1.54 GB, free: 6.645 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.5487, allocations: 0.9249 MB / 1.541 GB, free: 5.633 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5487, allocations: 3.938 kB / 1.541 GB, free: 5.629 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.5488, allocations: 43.94 kB / 1.541 GB, free: 5.586 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.5488, allocations: 25.31 kB / 1.541 GB, free: 5.562 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.5497, allocations: 0.6216 MB / 1.542 GB, free: 4.941 MB / 1.233 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.00435/0.5541, allocations: 4.606 MB / 1.546 GB, free: 24 kB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/0.5548, allocations: 456.1 kB / 1.546 GB, free: 15.55 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.5552, allocations: 235.5 kB / 1.547 GB, free: 15.31 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5553, allocations: 19.98 kB / 1.547 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.5554, allocations: 46.5 kB / 1.547 GB, free: 15.24 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.5554, allocations: 4 kB / 1.547 GB, free: 15.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.002543/0.5579, allocations: 1.547 MB / 1.548 GB, free: 13.65 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.558, allocations: 106.8 kB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.5588, allocations: 0.7196 MB / 1.549 GB, free: 12.79 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.5588, allocations: 41.7 kB / 1.549 GB, free: 12.75 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.5591, allocations: 416.6 kB / 1.55 GB, free: 12.33 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5593, allocations: 178.5 kB / 1.55 GB, free: 12.16 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5594, allocations: 110.3 kB / 1.55 GB, free: 12.04 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5596, allocations: 334 kB / 1.55 GB, free: 11.71 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.5599, allocations: 185.2 kB / 1.55 GB, free: 11.53 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.5603, allocations: 425 kB / 1.551 GB, free: 11.02 MB / 1.248 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.002134/0.5625, allocations: 1.105 MB / 1.552 GB, free: 9.828 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5625, allocations: 0 / 1.552 GB, free: 9.828 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009746/0.5634, allocations: 0.6794 MB / 1.552 GB, free: 9.141 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5635, allocations: 11.94 kB / 1.552 GB, free: 9.129 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5635, allocations: 8 kB / 1.552 GB, free: 9.121 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5635, allocations: 8 kB / 1.552 GB, free: 9.113 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.5639, allocations: 132.6 kB / 1.553 GB, free: 8.984 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.564, allocations: 15.94 kB / 1.553 GB, free: 8.969 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.5644, allocations: 27.98 kB / 1.553 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.5645, allocations: 28 kB / 1.553 GB, free: 8.914 MB / 1.248 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.0003365/0.5648, allocations: 269.6 kB / 1.553 GB, free: 8.641 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.565, allocations: 91.38 kB / 1.553 GB, free: 8.551 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.5651, allocations: 91.66 kB / 1.553 GB, free: 8.461 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5651, allocations: 4 kB / 1.553 GB, free: 8.457 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5651, allocations: 4 kB / 1.553 GB, free: 8.453 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007152/0.5659, allocations: 0.7079 MB / 1.554 GB, free: 7.66 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.5682, allocations: 1.61 MB / 1.555 GB, free: 5.949 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5682, allocations: 4.5 kB / 1.555 GB, free: 5.945 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.5687, allocations: 95.89 kB / 1.555 GB, free: 5.852 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.5687, allocations: 11.94 kB / 1.555 GB, free: 5.84 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.5687, allocations: 19.98 kB / 1.556 GB, free: 5.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.5687, allocations: 7.938 kB / 1.556 GB, free: 5.812 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5687, allocations: 4 kB / 1.556 GB, free: 5.809 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.5699, allocations: 0.8651 MB / 1.556 GB, free: 4.875 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.5703, allocations: 139.4 kB / 1.556 GB, free: 4.738 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.5704, allocations: 15.98 kB / 1.557 GB, free: 4.723 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.5708, allocations: 17.75 kB / 1.557 GB, free: 4.707 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.5708, allocations: 43.81 kB / 1.557 GB, free: 4.664 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.5709, allocations: 20 kB / 1.557 GB, free: 4.645 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006828/0.5716, allocations: 0.5107 MB / 1.557 GB, free: 4.137 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.5716, allocations: 0 / 1.557 GB, free: 4.137 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006994/0.5723, allocations: 199.9 kB / 1.557 GB, free: 3.941 MB / 1.248 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.0004777/0.5727, allocations: 196.3 kB / 1.557 GB, free: 3.75 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008053/0.5735, allocations: 465.2 kB / 1.558 GB, free: 3.297 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5735, allocations: 0 / 1.558 GB, free: 3.297 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.5739, allocations: 212.3 kB / 1.558 GB, free: 3.09 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.5758, allocations: 467 kB / 1.559 GB, free: 2.648 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.5784, allocations: 1.739 MB / 1.56 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.5791, allocations: 1.024 MB / 1.561 GB, free: 15.77 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.5793, allocations: 71.42 kB / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of SimCode: time 3.81e-07/0.5793, allocations: 4 kB / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of Templates: time 0.01904/0.5983, allocations: 12.99 MB / 1.574 GB, free: 2.82 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.651338550989749]