Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001031/0.001031, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001066/0.001066, allocations: 177 kB / 23.36 MB, free: 1.133 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.488 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 2.487/2.487, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.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_latest_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_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.247e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.01046/0.01048, allocations: 12.28 MB / 0.8506 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008237/0.01872, allocations: 5.433 MB / 0.8559 GB, free: 12.44 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.01995, allocations: 75.31 kB / 0.856 GB, free: 12.36 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.02059, allocations: 234.2 kB / 0.8562 GB, free: 12.13 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.02229, allocations: 0.8778 MB / 0.8571 GB, free: 11.25 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.02337, allocations: 0.6432 MB / 0.8577 GB, free: 10.61 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.0257, allocations: 2.045 MB / 0.8597 GB, free: 8.555 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009456/0.02665, allocations: 0.5464 MB / 0.8602 GB, free: 7.996 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.0278, allocations: 0.9373 MB / 0.8611 GB, free: 7.062 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.02835, allocations: 498.4 kB / 0.8616 GB, free: 6.574 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.02844, allocations: 60 kB / 0.8617 GB, free: 6.516 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.02897, allocations: 275.5 kB / 0.8619 GB, free: 6.246 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.02911, allocations: 199.2 kB / 0.8621 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.02934, allocations: 267.3 kB / 0.8624 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.03022, allocations: 0.7474 MB / 0.8631 GB, free: 5.039 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.03022, allocations: 0 / 0.8631 GB, free: 5.039 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.03022, allocations: 0 / 0.8631 GB, free: 5.039 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.03023, allocations: 0 / 0.8631 GB, free: 5.039 MB / 0.823 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.001046/0.03128, allocations: 0.9189 MB / 0.864 GB, free: 4.094 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.03131, allocations: 12.03 kB / 0.864 GB, free: 4.082 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.0315, allocations: 104.8 kB / 0.8641 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.03208, allocations: 490 kB / 0.8646 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.03211, allocations: 41.38 kB / 0.8646 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.03217, allocations: 52.38 kB / 0.8647 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.0326, allocations: 0.4891 MB / 0.8651 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.03261, allocations: 0 / 0.8651 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.03264, allocations: 20 kB / 0.8652 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.03267, allocations: 16 kB / 0.8652 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.03286, allocations: 145.6 kB / 0.8653 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.03438, allocations: 1.691 MB / 0.867 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.03465, allocations: 174.9 kB / 0.8671 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.03471, allocations: 47.66 kB / 0.8672 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/0.03554, allocations: 0.591 MB / 0.8678 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.03556, allocations: 34.56 kB / 0.8678 GB, free: 28 kB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.03556, allocations: 4 kB / 0.8678 GB, free: 24 kB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.000258/0.03582, allocations: 187.4 kB / 0.868 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.03585, allocations: 51.41 kB / 0.868 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.03615, allocations: 452.7 kB / 0.8685 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.03617, allocations: 37.64 kB / 0.8685 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.03629, allocations: 297.1 kB / 0.8688 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.03634, allocations: 87.28 kB / 0.8689 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.03641, allocations: 77.61 kB / 0.8689 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.03651, allocations: 370.6 kB / 0.8693 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.03656, allocations: 34.81 kB / 0.8693 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.03682, allocations: 272.6 kB / 0.8696 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.03701, allocations: 245.3 kB / 0.8698 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03701, allocations: 4 kB / 0.8698 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002355/0.03725, allocations: 234.3 kB / 0.87 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.03727, allocations: 12.12 kB / 0.87 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.03727, allocations: 4 kB / 0.87 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.03729, allocations: 8 kB / 0.8701 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.03743, allocations: 79.83 kB / 0.8701 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.03744, allocations: 4 kB / 0.8701 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.03757, allocations: 39.73 kB / 0.8702 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.0376, allocations: 15.98 kB / 0.8702 GB, free: 13.34 MB / 0.8386 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.0001163/0.03771, allocations: 144.4 kB / 0.8703 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.03776, allocations: 39.95 kB / 0.8704 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.03801, allocations: 178.2 kB / 0.8705 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.03802, allocations: 0 / 0.8705 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.03802, allocations: 0 / 0.8705 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001698/0.03819, allocations: 362.3 kB / 0.8709 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.03875, allocations: 0.5777 MB / 0.8714 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.03875, allocations: 3.984 kB / 0.8714 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.03889, allocations: 59.97 kB / 0.8715 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.03889, allocations: 0 / 0.8715 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.0389, allocations: 8 kB / 0.8715 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.0389, allocations: 4 kB / 0.8715 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.03891, allocations: 0 / 0.8715 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.03919, allocations: 359.2 kB / 0.8719 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.03928, allocations: 75.56 kB / 0.8719 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.03931, allocations: 4 kB / 0.8719 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.03942, allocations: 4 kB / 0.8719 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.03945, allocations: 24 kB / 0.872 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.03947, allocations: 11.98 kB / 0.872 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001501/0.03962, allocations: 199.2 kB / 0.8722 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.03962, allocations: 0 / 0.8722 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000412/0.04003, allocations: 191.5 kB / 0.8723 GB, free: 10.98 MB / 0.8386 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.0002423/0.04027, allocations: 167.7 kB / 0.8725 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.04073, allocations: 149.3 kB / 0.8727 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.04074, allocations: 8.312 kB / 0.8727 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.04081, allocations: 70.23 kB / 0.8727 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.04148, allocations: 277.6 kB / 0.873 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.04283, allocations: 0.9901 MB / 0.874 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.04292, allocations: 137.3 kB / 0.8741 GB, free: 9.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000215/0.04314, allocations: 80.52 kB / 0.8742 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.0435, allocations: 231.1 kB / 0.8744 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of SimCode: time 1.243e-06/0.0435, allocations: 0 / 0.8744 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of Templates: time 0.01402/0.05752, allocations: 10.39 MB / 0.8845 GB, free: 14.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.697935237083584]