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.0009934/0.0009934, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009698/0.0009698, allocations: 169 kB / 23.49 MB, free: 1.051 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.9675/0.9675, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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 1.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.558e-05, allocations: 3.438 kB / 0.8782 GB, free: 6.684 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.03407/0.0341, allocations: 43.25 MB / 0.9204 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.04629, allocations: 11.44 MB / 0.9316 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.04765, allocations: 67.44 kB / 0.9316 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.0488, allocations: 437 kB / 0.932 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.05136, allocations: 1.255 MB / 0.9333 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.05276, allocations: 0.7676 MB / 0.934 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.05525, allocations: 2.08 MB / 0.9361 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007972/0.05604, allocations: 0.5162 MB / 0.9366 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.05819, allocations: 1.276 MB / 0.9378 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000744/0.05893, allocations: 0.5062 MB / 0.9383 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.05904, allocations: 60 kB / 0.9384 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.0601, allocations: 0.522 MB / 0.9389 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.06027, allocations: 191.2 kB / 0.939 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.06053, allocations: 275.4 kB / 0.9393 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.06199, allocations: 0.9267 MB / 0.9402 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.062, allocations: 0 / 0.9402 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.352e-06/0.062, allocations: 0 / 0.9402 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.06201, allocations: 0 / 0.9402 GB, free: 6.945 MB / 0.9011 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.001371/0.06338, allocations: 1.094 MB / 0.9413 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.06342, allocations: 15.97 kB / 0.9413 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.06369, allocations: 128.4 kB / 0.9414 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.06479, allocations: 0.6423 MB / 0.9421 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.06482, allocations: 41.31 kB / 0.9421 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.06503, allocations: 52.38 kB / 0.9421 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.06562, allocations: 0.527 MB / 0.9427 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.06564, allocations: 0 / 0.9427 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.06568, allocations: 20 kB / 0.9427 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.06571, allocations: 16 kB / 0.9427 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.06604, allocations: 193.7 kB / 0.9429 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.06824, allocations: 2.326 MB / 0.9451 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.06861, allocations: 151.8 kB / 0.9453 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.0687, allocations: 63.66 kB / 0.9454 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.06964, allocations: 0.7344 MB / 0.9461 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.06966, allocations: 37.38 kB / 0.9461 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 2.525e-06/0.06967, allocations: 0 / 0.9461 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.0003751/0.07004, allocations: 206.8 kB / 0.9463 GB, free: 472 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.07007, allocations: 55.39 kB / 0.9464 GB, free: 404 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.07046, allocations: 0.4946 MB / 0.9468 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.07049, allocations: 33.7 kB / 0.9469 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.07069, allocations: 406.6 kB / 0.9473 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.07073, allocations: 83.33 kB / 0.9473 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.07082, allocations: 83.3 kB / 0.9474 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.07097, allocations: 0.5352 MB / 0.9479 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.07104, allocations: 39.97 kB / 0.948 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.0715, allocations: 351.7 kB / 0.9483 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.07176, allocations: 306.7 kB / 0.9486 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.07176, allocations: 0 / 0.9486 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003774/0.07214, allocations: 310.2 kB / 0.9489 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.07216, allocations: 8 kB / 0.9489 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.07217, allocations: 4 kB / 0.9489 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.07219, allocations: 8 kB / 0.9489 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.07235, allocations: 79.83 kB / 0.949 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.07236, allocations: 11.94 kB / 0.949 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.07253, allocations: 35.73 kB / 0.949 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.07256, allocations: 24.3 kB / 0.9491 GB, free: 13.36 MB / 0.9167 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.0001421/0.0727, allocations: 184.5 kB / 0.9492 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.07277, allocations: 55.67 kB / 0.9493 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.0731, allocations: 230.1 kB / 0.9495 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.07311, allocations: 3.984 kB / 0.9495 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.07312, allocations: 3.938 kB / 0.9495 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002511/0.07337, allocations: 395.2 kB / 0.9499 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.07417, allocations: 0.7781 MB / 0.9507 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.07417, allocations: 3.938 kB / 0.9507 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.07428, allocations: 39.98 kB / 0.9507 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.07429, allocations: 4 kB / 0.9507 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.07431, allocations: 7.984 kB / 0.9507 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.07431, allocations: 0 / 0.9507 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.07431, allocations: 3.938 kB / 0.9507 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.0747, allocations: 434.6 kB / 0.9511 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.07482, allocations: 83.72 kB / 0.9512 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.07486, allocations: 11.98 kB / 0.9512 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.07499, allocations: 11.94 kB / 0.9512 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.07502, allocations: 24 kB / 0.9513 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.07504, allocations: 11.98 kB / 0.9513 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002407/0.07528, allocations: 330.7 kB / 0.9516 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.07528, allocations: 3.938 kB / 0.9516 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005589/0.07584, allocations: 235.3 kB / 0.9518 GB, free: 10.38 MB / 0.9167 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.00038/0.07622, allocations: 270.9 kB / 0.9521 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.07651, allocations: 173.1 kB / 0.9522 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.07651, allocations: 8 kB / 0.9522 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.983e-05/0.07661, allocations: 84.89 kB / 0.9523 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.07738, allocations: 298 kB / 0.9526 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.07899, allocations: 0.9877 MB / 0.9536 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.883e-05/0.07909, allocations: 141.3 kB / 0.9537 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.07936, allocations: 96.48 kB / 0.9538 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.07944, allocations: 48.48 kB / 0.9538 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of SimCode: time 1.212e-06/0.07944, allocations: 4 kB / 0.9538 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of Templates: time 0.01445/0.09389, allocations: 10.82 MB / 0.9644 GB, free: 13.61 MB / 0.9323 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.6108994130045176]