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.001096/0.001096, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001061/0.001061, allocations: 168.1 kB / 24.86 MB, free: 9.227 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.85/1.85, allocations: 377.9 MB / 0.6247 GB, free: 8.434 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 2.114e-06/2.114e-06, allocations: 0 / 0.8128 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.288e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.504 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.01343/0.01345, allocations: 12.21 MB / 0.8247 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009244/0.0227, allocations: 5.343 MB / 0.8299 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.02349, allocations: 71.97 kB / 0.83 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.02405, allocations: 238.1 kB / 0.8302 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.02558, allocations: 0.8951 MB / 0.8311 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.02656, allocations: 0.6626 MB / 0.8317 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.02806, allocations: 2.073 MB / 0.8337 GB, free: 12 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.0286, allocations: 0.5405 MB / 0.8343 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.02981, allocations: 0.9542 MB / 0.8352 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.03028, allocations: 0.5179 MB / 0.8357 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.03034, allocations: 64 kB / 0.8358 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.03075, allocations: 263.5 kB / 0.836 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.03088, allocations: 195.2 kB / 0.8362 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.03108, allocations: 275.3 kB / 0.8365 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006989/0.03178, allocations: 0.7358 MB / 0.8372 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.03178, allocations: 3.938 kB / 0.8372 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.71e-07/0.03179, allocations: 4 kB / 0.8372 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.03179, allocations: 0 / 0.8372 GB, free: 8.441 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.001064/0.03286, allocations: 1.067 MB / 0.8382 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.03289, allocations: 12.03 kB / 0.8382 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.03309, allocations: 132.4 kB / 0.8384 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.0337, allocations: 0.5955 MB / 0.839 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.03373, allocations: 37.38 kB / 0.839 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.03379, allocations: 52.38 kB / 0.839 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.03423, allocations: 0.4957 MB / 0.8395 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.03425, allocations: 0 / 0.8395 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.03428, allocations: 24 kB / 0.8395 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.03431, allocations: 16 kB / 0.8396 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.03451, allocations: 154.7 kB / 0.8397 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.03614, allocations: 2.338 MB / 0.842 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.03642, allocations: 143.1 kB / 0.8421 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.03648, allocations: 55.64 kB / 0.8422 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009229/0.03741, allocations: 0.7027 MB / 0.8429 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.03743, allocations: 41.33 kB / 0.8429 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.03743, allocations: 0 / 0.8429 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of matching and sorting (n=20): time 0.0002899/0.03772, allocations: 190.9 kB / 0.8431 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.03775, allocations: 55.41 kB / 0.8431 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.03818, allocations: 0.4944 MB / 0.8436 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.0382, allocations: 33.7 kB / 0.8437 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.03838, allocations: 418.5 kB / 0.8441 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.03843, allocations: 79.3 kB / 0.8441 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.0385, allocations: 91.27 kB / 0.8442 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.03864, allocations: 0.5351 MB / 0.8447 GB, free: 400 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.03869, allocations: 27.97 kB / 0.8448 GB, free: 372 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.0389, allocations: 343.7 kB / 0.8451 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.0391, allocations: 291 kB / 0.8454 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.03911, allocations: 4 kB / 0.8454 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002943/0.0394, allocations: 299.2 kB / 0.8457 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.03942, allocations: 8 kB / 0.8457 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.03943, allocations: 4 kB / 0.8457 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.03945, allocations: 4 kB / 0.8457 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.03959, allocations: 79.84 kB / 0.8458 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.03959, allocations: 12.52 kB / 0.8458 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.03973, allocations: 39.73 kB / 0.8458 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.03975, allocations: 20 kB / 0.8458 GB, free: 15.08 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.0001338/0.03989, allocations: 184.4 kB / 0.846 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.03995, allocations: 59.67 kB / 0.8461 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.04021, allocations: 205.3 kB / 0.8462 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.04021, allocations: 4 kB / 0.8463 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.04022, allocations: 3.938 kB / 0.8463 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001976/0.04042, allocations: 386.5 kB / 0.8466 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.04101, allocations: 0.668 MB / 0.8473 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.04101, allocations: 0 / 0.8473 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.0411, allocations: 39.97 kB / 0.8473 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.04111, allocations: 4 kB / 0.8473 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.04112, allocations: 11.98 kB / 0.8473 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.04113, allocations: 0 / 0.8473 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.04113, allocations: 7.938 kB / 0.8473 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.04143, allocations: 408.9 kB / 0.8477 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.04152, allocations: 91.5 kB / 0.8478 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.04156, allocations: 0 / 0.8478 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.04167, allocations: 11.98 kB / 0.8478 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.0417, allocations: 35.8 kB / 0.8479 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.04172, allocations: 8 kB / 0.8479 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001592/0.04188, allocations: 310.7 kB / 0.8482 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.04188, allocations: 0 / 0.8482 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000361/0.04224, allocations: 187.5 kB / 0.8483 GB, free: 12.33 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.0004038/0.04264, allocations: 187 kB / 0.8485 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.04284, allocations: 156.9 kB / 0.8487 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.04284, allocations: 0 / 0.8487 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.04292, allocations: 71.52 kB / 0.8487 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.04363, allocations: 306.5 kB / 0.849 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.0448, allocations: 0.9835 MB / 0.85 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.04489, allocations: 145.2 kB / 0.8501 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.04507, allocations: 84.56 kB / 0.8502 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.04543, allocations: 278 kB / 0.8505 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.04543, allocations: 7.938 kB / 0.8505 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.01237/0.0578, allocations: 10.72 MB / 0.861 GB, free: 15.62 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.409196079708636]