Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Tanks.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.0009817/0.0009817, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001105/0.001105, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.025/1.025, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.26e-05, allocations: 3.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.01053/0.01055, allocations: 12.22 MB / 0.8239 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009035/0.01958, allocations: 5.342 MB / 0.8291 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.02111, allocations: 72.25 kB / 0.8292 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.02184, allocations: 250 kB / 0.8294 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.02409, allocations: 0.8853 MB / 0.8303 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.02532, allocations: 0.6594 MB / 0.8309 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.02757, allocations: 2.073 MB / 0.833 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008051/0.02837, allocations: 0.5444 MB / 0.8335 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.03, allocations: 0.9535 MB / 0.8344 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007408/0.03075, allocations: 0.5101 MB / 0.8349 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.03086, allocations: 60 kB / 0.835 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.03158, allocations: 275.4 kB / 0.8353 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.03181, allocations: 195.2 kB / 0.8354 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.03213, allocations: 275.4 kB / 0.8357 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.03334, allocations: 0.7357 MB / 0.8364 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.03335, allocations: 4 kB / 0.8364 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.122e-06/0.03335, allocations: 0 / 0.8364 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.03336, allocations: 0 / 0.8364 GB, free: 8.414 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001407/0.03477, allocations: 1.063 MB / 0.8375 GB, free: 7.312 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.03481, allocations: 12.03 kB / 0.8375 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.03509, allocations: 136.3 kB / 0.8376 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007954/0.03588, allocations: 0.5955 MB / 0.8382 GB, free: 6.551 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.03591, allocations: 37.38 kB / 0.8382 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.03599, allocations: 56.36 kB / 0.8383 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.03658, allocations: 0.4957 MB / 0.8388 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.0366, allocations: 0 / 0.8388 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.03664, allocations: 24 kB / 0.8388 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.03667, allocations: 15.98 kB / 0.8388 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.03693, allocations: 146.8 kB / 0.8389 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.03911, allocations: 2.338 MB / 0.8412 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.03944, allocations: 155.3 kB / 0.8414 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.03951, allocations: 51.66 kB / 0.8414 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.04053, allocations: 0.7142 MB / 0.8421 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.04056, allocations: 33.39 kB / 0.8421 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.04056, allocations: 0 / 0.8421 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of matching and sorting (n=20): time 0.000357/0.04092, allocations: 195.4 kB / 0.8423 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.04095, allocations: 59.41 kB / 0.8424 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.04134, allocations: 0.4944 MB / 0.8429 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.04137, allocations: 29.7 kB / 0.8429 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.0416, allocations: 418.5 kB / 0.8433 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.04166, allocations: 79.31 kB / 0.8434 GB, free: 1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.04176, allocations: 87.27 kB / 0.8435 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.04193, allocations: 0.539 MB / 0.844 GB, free: 364 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.04199, allocations: 31.97 kB / 0.844 GB, free: 332 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.0422, allocations: 347.7 kB / 0.8443 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.04246, allocations: 287.8 kB / 0.8446 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.04246, allocations: 4 kB / 0.8446 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003951/0.04286, allocations: 292.7 kB / 0.8449 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.04288, allocations: 10.03 kB / 0.8449 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.04289, allocations: 8 kB / 0.8449 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.0429, allocations: 8 kB / 0.8449 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.04309, allocations: 83.77 kB / 0.845 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.04309, allocations: 4 kB / 0.845 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.04328, allocations: 35.73 kB / 0.845 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.04331, allocations: 23.98 kB / 0.8451 GB, free: 15.04 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.000143/0.04345, allocations: 180.4 kB / 0.8452 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.04353, allocations: 59.67 kB / 0.8453 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.04386, allocations: 206.9 kB / 0.8455 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.04386, allocations: 0 / 0.8455 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.04386, allocations: 3.938 kB / 0.8455 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002461/0.04411, allocations: 390.4 kB / 0.8459 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.04489, allocations: 0.668 MB / 0.8465 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04489, allocations: 0 / 0.8465 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.04502, allocations: 35.98 kB / 0.8466 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.04502, allocations: 4.125 kB / 0.8466 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.04504, allocations: 19.92 kB / 0.8466 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.04504, allocations: 3.938 kB / 0.8466 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.04505, allocations: 4 kB / 0.8466 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.04543, allocations: 411.3 kB / 0.847 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.04555, allocations: 83.56 kB / 0.8471 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.04559, allocations: 3.984 kB / 0.8471 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.04575, allocations: 8 kB / 0.8471 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.04578, allocations: 31.8 kB / 0.8471 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.0458, allocations: 20.02 kB / 0.8471 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002136/0.04602, allocations: 310.7 kB / 0.8474 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.04602, allocations: 0 / 0.8474 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005741/0.04659, allocations: 191.5 kB / 0.8476 GB, free: 12.28 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000282/0.04687, allocations: 175 kB / 0.8478 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.04713, allocations: 156.5 kB / 0.8479 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.04713, allocations: 0 / 0.8479 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.04723, allocations: 75.81 kB / 0.848 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.04816, allocations: 303.9 kB / 0.8483 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.04975, allocations: 0.9679 MB / 0.8492 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.04986, allocations: 149.2 kB / 0.8494 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002784/0.05014, allocations: 88.56 kB / 0.8494 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.05058, allocations: 281.9 kB / 0.8497 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.05059, allocations: 4 kB / 0.8497 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.01648/0.06706, allocations: 10.59 MB / 0.8601 GB, free: 15.71 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.163112389855087]