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.0009627/0.0009627, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0009675/0.0009675, allocations: 169 kB / 23.28 MB, free: 1.219 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.9386/0.9386, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.296/2.296, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.844e-06/1.844e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.166e-05, allocations: 9.484 kB / 0.8897 GB, free: 9.777 MB / 0.8542 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.0099/0.009922, allocations: 12.22 MB / 0.9017 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.01556, allocations: 5.304 MB / 0.9068 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.01607, allocations: 67.44 kB / 0.9069 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.0165, allocations: 242.1 kB / 0.9071 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.01758, allocations: 0.8779 MB / 0.908 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.01835, allocations: 0.647 MB / 0.9086 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.01973, allocations: 2.045 MB / 0.9106 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.0202, allocations: 0.5199 MB / 0.9111 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.02115, allocations: 0.9346 MB / 0.912 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.02157, allocations: 0.5179 MB / 0.9125 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.02164, allocations: 67.98 kB / 0.9126 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.02196, allocations: 267.5 kB / 0.9129 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.02208, allocations: 195.2 kB / 0.9131 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.02227, allocations: 271.4 kB / 0.9133 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.02293, allocations: 0.7358 MB / 0.914 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.02293, allocations: 0 / 0.914 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.11e-07/0.02293, allocations: 0 / 0.914 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.02294, allocations: 0 / 0.914 GB, free: 0.7812 MB / 0.8698 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.0009631/0.0239, allocations: 1.071 MB / 0.9151 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.02393, allocations: 8.031 kB / 0.9151 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.0241, allocations: 132.4 kB / 0.9152 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.02462, allocations: 0.5877 MB / 0.9158 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.02464, allocations: 37.38 kB / 0.9158 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.02469, allocations: 52.38 kB / 0.9159 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.0251, allocations: 0.4918 MB / 0.9164 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.02511, allocations: 4 kB / 0.9164 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.02514, allocations: 23.98 kB / 0.9164 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.02517, allocations: 19.92 kB / 0.9164 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.02535, allocations: 154.8 kB / 0.9165 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.02685, allocations: 2.334 MB / 0.9188 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.02707, allocations: 143 kB / 0.919 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.02713, allocations: 51.66 kB / 0.919 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.02785, allocations: 0.7263 MB / 0.9197 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.02787, allocations: 41.38 kB / 0.9198 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.02787, allocations: 0 / 0.9198 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0002458/0.02812, allocations: 183.3 kB / 0.9199 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.02814, allocations: 55.39 kB / 0.92 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.02843, allocations: 0.4943 MB / 0.9205 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.02845, allocations: 25.7 kB / 0.9205 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.02864, allocations: 410.5 kB / 0.9209 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.02868, allocations: 83.3 kB / 0.921 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.02876, allocations: 91.27 kB / 0.9211 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.0289, allocations: 0.5428 MB / 0.9216 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.02894, allocations: 31.75 kB / 0.9216 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.02911, allocations: 336.2 kB / 0.9219 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.0293, allocations: 291 kB / 0.9222 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02931, allocations: 0 / 0.9222 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002809/0.02959, allocations: 295.1 kB / 0.9225 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.0296, allocations: 8 kB / 0.9225 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02961, allocations: 4 kB / 0.9225 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.02962, allocations: 8 kB / 0.9225 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.02976, allocations: 79.77 kB / 0.9226 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.02976, allocations: 8 kB / 0.9226 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.0299, allocations: 39.73 kB / 0.9226 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02992, allocations: 12 kB / 0.9226 GB, free: 7.434 MB / 0.8855 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.0001253/0.03004, allocations: 184.6 kB / 0.9228 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.0301, allocations: 63.67 kB / 0.9229 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.03034, allocations: 212.7 kB / 0.9231 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.03034, allocations: 0 / 0.9231 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03035, allocations: 7.938 kB / 0.9231 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001904/0.03054, allocations: 385.8 kB / 0.9235 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.03113, allocations: 0.6704 MB / 0.9241 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.03114, allocations: 12.06 kB / 0.9241 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.03127, allocations: 35.92 kB / 0.9242 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.03127, allocations: 4 kB / 0.9242 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.03128, allocations: 11.98 kB / 0.9242 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.03129, allocations: 0 / 0.9242 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.03129, allocations: 7.984 kB / 0.9242 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.03159, allocations: 402.6 kB / 0.9246 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.03169, allocations: 91.55 kB / 0.9247 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.03172, allocations: 8.016 kB / 0.9247 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.03184, allocations: 11.95 kB / 0.9247 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.03186, allocations: 23.91 kB / 0.9247 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.03188, allocations: 15.98 kB / 0.9247 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000157/0.03204, allocations: 302.7 kB / 0.925 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.03204, allocations: 0 / 0.925 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003443/0.03238, allocations: 187.5 kB / 0.9252 GB, free: 4.672 MB / 0.8855 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.0001937/0.03258, allocations: 183 kB / 0.9254 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.03277, allocations: 156.4 kB / 0.9255 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03277, allocations: 0 / 0.9255 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.03285, allocations: 79.5 kB / 0.9256 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.0335, allocations: 288.9 kB / 0.9259 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.03465, allocations: 0.9697 MB / 0.9268 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.03474, allocations: 145.3 kB / 0.9269 GB, free: 2.793 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.0349, allocations: 80.52 kB / 0.927 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.03524, allocations: 270 kB / 0.9273 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.03524, allocations: 0 / 0.9273 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of Templates: time 0.0116/0.04684, allocations: 10.38 MB / 0.9374 GB, free: 8.316 MB / 0.9011 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 -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.365911792963743]