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.0009092/0.0009092, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.000973/0.000973, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9451/0.9451, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.78/1.78, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 1.463e-06/1.463e-06, allocations: 0 / 0.8115 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.018e-05, allocations: 3.969 kB / 0.8115 GB, free: 0.6172 MB / 0.7136 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.01001/0.01003, allocations: 12.38 MB / 0.8236 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.01711, allocations: 5.374 MB / 0.8288 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009839/0.01809, allocations: 71.38 kB / 0.8289 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.01869, allocations: 253.4 kB / 0.8292 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.02026, allocations: 0.8826 MB / 0.83 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.02131, allocations: 0.6587 MB / 0.8307 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.02332, allocations: 2.076 MB / 0.8327 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007889/0.0241, allocations: 0.5366 MB / 0.8332 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.02545, allocations: 0.9542 MB / 0.8341 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.02609, allocations: 0.5062 MB / 0.8346 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.02617, allocations: 63.94 kB / 0.8347 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.02663, allocations: 279.4 kB / 0.835 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.02676, allocations: 191.2 kB / 0.8351 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.02698, allocations: 279.3 kB / 0.8354 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.02784, allocations: 0.7396 MB / 0.8361 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02784, allocations: 0 / 0.8361 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.02784, allocations: 0 / 0.8361 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.02785, allocations: 0 / 0.8361 GB, free: 7.371 MB / 0.7448 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.001192/0.02905, allocations: 1.055 MB / 0.8372 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.02909, allocations: 12.03 kB / 0.8372 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.02932, allocations: 136.3 kB / 0.8373 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.02995, allocations: 0.6072 MB / 0.8379 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.02998, allocations: 37.38 kB / 0.8379 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.03003, allocations: 56.38 kB / 0.838 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.0306, allocations: 0.527 MB / 0.8385 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.03062, allocations: 0 / 0.8385 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.03065, allocations: 20 kB / 0.8385 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.03068, allocations: 16 kB / 0.8385 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.03097, allocations: 185.7 kB / 0.8387 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.03276, allocations: 2.33 MB / 0.841 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.03315, allocations: 154.1 kB / 0.8411 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.03323, allocations: 67.64 kB / 0.8412 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.03404, allocations: 0.6988 MB / 0.8419 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.03407, allocations: 41.39 kB / 0.8419 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.03407, allocations: 0 / 0.8419 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003292/0.0344, allocations: 211.4 kB / 0.8421 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.03442, allocations: 51.41 kB / 0.8422 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.03478, allocations: 0.5063 MB / 0.8427 GB, free: 408 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.0348, allocations: 29.7 kB / 0.8427 GB, free: 372 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.03499, allocations: 410.7 kB / 0.8431 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.03504, allocations: 87.25 kB / 0.8432 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.03511, allocations: 83.25 kB / 0.8433 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.03525, allocations: 0.5391 MB / 0.8438 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.03532, allocations: 35.97 kB / 0.8438 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.03551, allocations: 355.7 kB / 0.8442 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.03584, allocations: 299.4 kB / 0.8444 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.03584, allocations: 0 / 0.8444 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003377/0.03618, allocations: 312.7 kB / 0.8447 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.03619, allocations: 8.625 kB / 0.8447 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.0362, allocations: 4 kB / 0.8447 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.03622, allocations: 12 kB / 0.8448 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.03637, allocations: 83.77 kB / 0.8448 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.03638, allocations: 8 kB / 0.8448 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.03652, allocations: 35.78 kB / 0.8449 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.03654, allocations: 19.98 kB / 0.8449 GB, free: 13.87 MB / 0.7605 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.0001296/0.03667, allocations: 184.4 kB / 0.8451 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.03673, allocations: 63.62 kB / 0.8451 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.03703, allocations: 226.8 kB / 0.8454 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.03704, allocations: 4 kB / 0.8454 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.03704, allocations: 3.938 kB / 0.8454 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002164/0.03726, allocations: 394.6 kB / 0.8457 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.03797, allocations: 0.7747 MB / 0.8465 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03797, allocations: 4 kB / 0.8465 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.03808, allocations: 39.97 kB / 0.8465 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03808, allocations: 128 / 0.8465 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.0381, allocations: 15.98 kB / 0.8466 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.0381, allocations: 7.938 kB / 0.8466 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.03811, allocations: 3.938 kB / 0.8466 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.03847, allocations: 421.7 kB / 0.847 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.03857, allocations: 87.56 kB / 0.847 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.0386, allocations: 4 kB / 0.8471 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.03872, allocations: 15.92 kB / 0.8471 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.03875, allocations: 23.91 kB / 0.8471 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.03877, allocations: 16.02 kB / 0.8471 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000217/0.03899, allocations: 326.8 kB / 0.8474 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03899, allocations: 0 / 0.8474 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003978/0.03938, allocations: 195.4 kB / 0.8476 GB, free: 10.93 MB / 0.7605 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.000234/0.03962, allocations: 179 kB / 0.8478 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.03986, allocations: 163.3 kB / 0.8479 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.03987, allocations: 5.25 kB / 0.8479 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.03996, allocations: 83.77 kB / 0.848 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.04069, allocations: 310.2 kB / 0.8483 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.042, allocations: 0.9779 MB / 0.8493 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.408e-05/0.04208, allocations: 149.2 kB / 0.8494 GB, free: 9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.04232, allocations: 104.5 kB / 0.8495 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.04239, allocations: 56.42 kB / 0.8496 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.04239, allocations: 0 / 0.8496 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of Templates: time 0.01325/0.05564, allocations: 10.59 MB / 0.8599 GB, free: 14.53 MB / 0.7761 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.156704058870673]