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.001313/0.001313, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001126/0.001126, allocations: 173.4 kB / 24.06 MB, free: 452 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.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.309 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.049/2.049, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 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 2.264e-06/2.264e-06, allocations: 0 / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/3.863e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.062 MB / 0.8386 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.01476/0.0148, allocations: 12.21 MB / 0.8913 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008562/0.02336, allocations: 5.332 MB / 0.8965 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.02529, allocations: 67.44 kB / 0.8966 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.02625, allocations: 242.1 kB / 0.8968 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.02866, allocations: 0.8817 MB / 0.8977 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.02997, allocations: 0.6432 MB / 0.8983 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.03263, allocations: 2.051 MB / 0.9003 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/0.03346, allocations: 0.5121 MB / 0.9008 GB, free: 68 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.0354, allocations: 0.9478 MB / 0.9017 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.03645, allocations: 0.514 MB / 0.9022 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.03658, allocations: 60 kB / 0.9023 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.03745, allocations: 263.5 kB / 0.9025 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.03766, allocations: 199.2 kB / 0.9027 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.03802, allocations: 275.4 kB / 0.903 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.03953, allocations: 0.7358 MB / 0.9037 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.03953, allocations: 0 / 0.9037 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03953, allocations: 0 / 0.9037 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.03955, allocations: 0 / 0.9037 GB, free: 13.09 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.001557/0.0411, allocations: 1.063 MB / 0.9047 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.04115, allocations: 12.03 kB / 0.9047 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.04141, allocations: 132.4 kB / 0.9049 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.04212, allocations: 0.5876 MB / 0.9054 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.04216, allocations: 41.38 kB / 0.9055 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.04222, allocations: 52.33 kB / 0.9055 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.04275, allocations: 0.5035 MB / 0.906 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.04277, allocations: 0 / 0.906 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.0428, allocations: 20 kB / 0.906 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.04284, allocations: 16 kB / 0.9061 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.04309, allocations: 154.7 kB / 0.9062 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.04506, allocations: 2.33 MB / 0.9085 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.04539, allocations: 139.2 kB / 0.9086 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.04545, allocations: 47.66 kB / 0.9087 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.04648, allocations: 0.7186 MB / 0.9094 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.04651, allocations: 37.39 kB / 0.9094 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/0.04651, allocations: 0 / 0.9094 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0003272/0.04684, allocations: 190.9 kB / 0.9096 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.04687, allocations: 55.41 kB / 0.9096 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.04721, allocations: 0.4904 MB / 0.9101 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.04723, allocations: 25.7 kB / 0.9101 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.04745, allocations: 418.5 kB / 0.9105 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.0475, allocations: 79.3 kB / 0.9106 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.04758, allocations: 87.27 kB / 0.9107 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.04774, allocations: 0.539 MB / 0.9112 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.04779, allocations: 31.97 kB / 0.9112 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.04797, allocations: 343.7 kB / 0.9116 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.04818, allocations: 291.8 kB / 0.9119 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.04819, allocations: 4 kB / 0.9119 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003155/0.0485, allocations: 294.6 kB / 0.9121 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.04853, allocations: 11.94 kB / 0.9122 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003593/0.04889, allocations: 4 kB / 0.9122 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.0489, allocations: 8 kB / 0.9122 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.04906, allocations: 72.47 kB / 0.9122 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.04907, allocations: 15.92 kB / 0.9122 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.04923, allocations: 43.73 kB / 0.9123 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.04925, allocations: 12 kB / 0.9123 GB, free: 3.75 MB / 0.8698 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.0001503/0.0494, allocations: 180.5 kB / 0.9125 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.04947, allocations: 59.67 kB / 0.9125 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.04977, allocations: 218.1 kB / 0.9127 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.04978, allocations: 4 kB / 0.9127 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.04978, allocations: 3.938 kB / 0.9127 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/0.04998, allocations: 378.6 kB / 0.9131 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.05063, allocations: 0.668 MB / 0.9138 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.05063, allocations: 4 kB / 0.9138 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.05074, allocations: 39.97 kB / 0.9138 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.05074, allocations: 0 / 0.9138 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.05076, allocations: 11.98 kB / 0.9138 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.05076, allocations: 4 kB / 0.9138 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.05076, allocations: 3.938 kB / 0.9138 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.05109, allocations: 418.6 kB / 0.9142 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.05119, allocations: 83.56 kB / 0.9143 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.05123, allocations: 4 kB / 0.9143 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.05135, allocations: 11.98 kB / 0.9143 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.05138, allocations: 23.84 kB / 0.9143 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.05139, allocations: 8 kB / 0.9143 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001694/0.05156, allocations: 306.7 kB / 0.9146 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.05156, allocations: 0 / 0.9146 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004719/0.05204, allocations: 195.5 kB / 0.9148 GB, free: 0.9961 MB / 0.8698 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.0002667/0.0523, allocations: 183 kB / 0.915 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.05253, allocations: 161.1 kB / 0.9152 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.05253, allocations: 7.938 kB / 0.9152 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.0526, allocations: 65.09 kB / 0.9152 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.05333, allocations: 305.4 kB / 0.9155 GB, free: 288 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.05469, allocations: 0.9675 MB / 0.9165 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.868e-05/0.05478, allocations: 145.3 kB / 0.9166 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.055, allocations: 84.5 kB / 0.9167 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.05535, allocations: 273.9 kB / 0.9169 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/0.05535, allocations: 4 kB / 0.9169 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of Templates: time 0.01402/0.06937, allocations: 10.49 MB / 0.9272 GB, free: 4.508 MB / 0.8855 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.5675617987290025]