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.0009918/0.0009918, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001033/0.001033, allocations: 165 kB / 23.82 MB, free: 0.75 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.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.985/1.985, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.084e-06/2.084e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.129e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.766 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.01386/0.01389, allocations: 12.37 MB / 0.8236 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008229/0.02212, allocations: 5.385 MB / 0.8288 GB, free: 12 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.02349, allocations: 72.52 kB / 0.8289 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.02417, allocations: 245.9 kB / 0.8292 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.02601, allocations: 0.8857 MB / 0.83 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.02719, allocations: 0.6548 MB / 0.8307 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.02935, allocations: 2.077 MB / 0.8327 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008192/0.03017, allocations: 0.5443 MB / 0.8332 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.0317, allocations: 0.9191 MB / 0.8341 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.03243, allocations: 0.514 MB / 0.8346 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.03254, allocations: 64 kB / 0.8347 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006213/0.03316, allocations: 271.5 kB / 0.8349 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.03331, allocations: 199.2 kB / 0.8351 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.03356, allocations: 275.4 kB / 0.8354 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.0348, allocations: 0.7474 MB / 0.8361 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.0348, allocations: 0 / 0.8361 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.001e-06/0.0348, allocations: 0 / 0.8361 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.03482, allocations: 0 / 0.8361 GB, free: 8.535 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.001401/0.03622, allocations: 1.071 MB / 0.8372 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.03626, allocations: 11.97 kB / 0.8372 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.03651, allocations: 140.3 kB / 0.8373 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.03734, allocations: 0.6385 MB / 0.8379 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.03737, allocations: 37.38 kB / 0.838 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.03744, allocations: 60.33 kB / 0.838 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.03804, allocations: 0.527 MB / 0.8385 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.03806, allocations: 11.88 kB / 0.8386 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.03814, allocations: 16 kB / 0.8386 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.03817, allocations: 16 kB / 0.8386 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.03848, allocations: 189.7 kB / 0.8388 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.04042, allocations: 2.322 MB / 0.841 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.0408, allocations: 165 kB / 0.8412 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.04089, allocations: 59.59 kB / 0.8412 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008853/0.04177, allocations: 0.6988 MB / 0.8419 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.0418, allocations: 41.34 kB / 0.842 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=20): time 1.854e-06/0.0418, allocations: 0 / 0.842 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of matching and sorting (n=20): time 0.0003637/0.04217, allocations: 209.2 kB / 0.8422 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.0422, allocations: 55.41 kB / 0.8422 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.04256, allocations: 0.5024 MB / 0.8427 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.04258, allocations: 29.7 kB / 0.8427 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.04278, allocations: 414.6 kB / 0.8431 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.04282, allocations: 75.33 kB / 0.8432 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.04291, allocations: 91.3 kB / 0.8433 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.04307, allocations: 0.5352 MB / 0.8438 GB, free: 344 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.04315, allocations: 35.97 kB / 0.8438 GB, free: 308 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.04336, allocations: 351.8 kB / 0.8442 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.04362, allocations: 307 kB / 0.8445 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.04362, allocations: 4 kB / 0.8445 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003647/0.04399, allocations: 315.4 kB / 0.8448 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.04401, allocations: 8 kB / 0.8448 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.04401, allocations: 8.031 kB / 0.8448 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.04404, allocations: 8 kB / 0.8448 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.04419, allocations: 75.84 kB / 0.8449 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.04421, allocations: 15.88 kB / 0.8449 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.04435, allocations: 35.72 kB / 0.8449 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.04438, allocations: 20 kB / 0.8449 GB, free: 14.97 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.0001305/0.04451, allocations: 172.5 kB / 0.8451 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.04458, allocations: 67.7 kB / 0.8452 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.0449, allocations: 237.2 kB / 0.8454 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.0449, allocations: 0 / 0.8454 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.04491, allocations: 3.938 kB / 0.8454 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002453/0.04515, allocations: 398.5 kB / 0.8458 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.04592, allocations: 0.7651 MB / 0.8465 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.04592, allocations: 0 / 0.8465 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.04604, allocations: 47.91 kB / 0.8466 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.04604, allocations: 8.125 kB / 0.8466 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.04606, allocations: 4 kB / 0.8466 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.04606, allocations: 0 / 0.8466 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.04606, allocations: 7.938 kB / 0.8466 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.04644, allocations: 434 kB / 0.847 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.04654, allocations: 83.56 kB / 0.8471 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.04658, allocations: 4 kB / 0.8471 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.0467, allocations: 11.94 kB / 0.8471 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.04673, allocations: 19.92 kB / 0.8471 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.04675, allocations: 24.02 kB / 0.8471 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002307/0.04698, allocations: 326.8 kB / 0.8475 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.04698, allocations: 0 / 0.8475 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004626/0.04744, allocations: 187.5 kB / 0.8476 GB, free: 12.04 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.0002652/0.0477, allocations: 183 kB / 0.8478 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.04798, allocations: 171 kB / 0.848 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04798, allocations: 0 / 0.848 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.04807, allocations: 89.89 kB / 0.8481 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.04884, allocations: 305.2 kB / 0.8484 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.05032, allocations: 0.9795 MB / 0.8493 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.05041, allocations: 145.2 kB / 0.8494 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.05066, allocations: 104.5 kB / 0.8495 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.05073, allocations: 44.48 kB / 0.8496 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of SimCode: time 1.113e-06/0.05073, allocations: 0 / 0.8496 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of Templates: time 0.01284/0.06357, allocations: 9.52 MB / 0.8589 GB, free: 0.7031 MB / 0.8073 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.523284043185413]