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.001189/0.001189, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.00142/0.00142, allocations: 173 kB / 23.36 MB, free: 1.133 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.9682/0.9682, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.251/2.251, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: 3.938 kB / 0.8386 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.286e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.3 MB / 0.8073 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.01063/0.01066, allocations: 12.24 MB / 0.8505 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007318/0.01798, allocations: 5.439 MB / 0.8558 GB, free: 12.55 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.01909, allocations: 67.38 kB / 0.8559 GB, free: 12.49 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.01968, allocations: 242.1 kB / 0.8561 GB, free: 12.25 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.02132, allocations: 0.8817 MB / 0.857 GB, free: 11.36 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.0227, allocations: 0.6432 MB / 0.8576 GB, free: 10.72 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.02473, allocations: 2.041 MB / 0.8596 GB, free: 8.672 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.02552, allocations: 0.5258 MB / 0.8601 GB, free: 8.121 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.02696, allocations: 0.9532 MB / 0.861 GB, free: 7.176 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.0275, allocations: 494.4 kB / 0.8615 GB, free: 6.691 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.02756, allocations: 60 kB / 0.8616 GB, free: 6.633 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.02806, allocations: 263.5 kB / 0.8618 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.0282, allocations: 203.2 kB / 0.862 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.02841, allocations: 271.4 kB / 0.8623 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.0293, allocations: 0.7396 MB / 0.863 GB, free: 5.168 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.0293, allocations: 0 / 0.863 GB, free: 5.168 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.0293, allocations: 0 / 0.863 GB, free: 5.168 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.02931, allocations: 4 kB / 0.863 GB, free: 5.164 MB / 0.823 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.001049/0.03036, allocations: 0.9189 MB / 0.8639 GB, free: 4.219 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.03039, allocations: 8.031 kB / 0.8639 GB, free: 4.211 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.03058, allocations: 108.8 kB / 0.864 GB, free: 4.105 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.03114, allocations: 489.9 kB / 0.8645 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.03117, allocations: 37.38 kB / 0.8645 GB, free: 3.562 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.03123, allocations: 52.38 kB / 0.8646 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.03189, allocations: 0.5008 MB / 0.8651 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.03191, allocations: 0 / 0.8651 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.03194, allocations: 16 kB / 0.8651 GB, free: 2.938 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.03197, allocations: 12 kB / 0.8651 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.03216, allocations: 149.6 kB / 0.8652 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.03362, allocations: 1.687 MB / 0.8669 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.03387, allocations: 178.8 kB / 0.867 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.03394, allocations: 47.67 kB / 0.8671 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.03483, allocations: 0.5949 MB / 0.8677 GB, free: 192 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.03486, allocations: 34.56 kB / 0.8677 GB, free: 148 kB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.03486, allocations: 0 / 0.8677 GB, free: 148 kB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0002613/0.03512, allocations: 191.4 kB / 0.8679 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.03515, allocations: 51.41 kB / 0.8679 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.03545, allocations: 448.7 kB / 0.8684 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.03547, allocations: 25.7 kB / 0.8684 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.03561, allocations: 309.1 kB / 0.8687 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.03565, allocations: 83.3 kB / 0.8688 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.03573, allocations: 77.61 kB / 0.8688 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.03584, allocations: 370.5 kB / 0.8692 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.03589, allocations: 34.59 kB / 0.8692 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.03604, allocations: 273.9 kB / 0.8695 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.03623, allocations: 245.3 kB / 0.8697 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03623, allocations: 4 kB / 0.8697 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002379/0.03647, allocations: 227.9 kB / 0.8699 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.03648, allocations: 11.94 kB / 0.8699 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03649, allocations: 4.625 kB / 0.87 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.03651, allocations: 12 kB / 0.87 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.03671, allocations: 79.83 kB / 0.87 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.03671, allocations: 4 kB / 0.87 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.03685, allocations: 39.73 kB / 0.8701 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.03687, allocations: 15.98 kB / 0.8701 GB, free: 13.47 MB / 0.8386 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.0001199/0.03699, allocations: 144.4 kB / 0.8702 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.03704, allocations: 31.97 kB / 0.8703 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.03733, allocations: 180.6 kB / 0.8704 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.03734, allocations: 8 kB / 0.8704 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.03734, allocations: 0 / 0.8704 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002013/0.03754, allocations: 354.8 kB / 0.8708 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.0386, allocations: 0.5873 MB / 0.8714 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0386, allocations: 0 / 0.8714 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.03871, allocations: 51.84 kB / 0.8714 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.03871, allocations: 0 / 0.8714 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.03872, allocations: 4.125 kB / 0.8714 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.03872, allocations: 11.98 kB / 0.8714 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03873, allocations: 0 / 0.8714 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.03902, allocations: 360.7 kB / 0.8718 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.03915, allocations: 71.58 kB / 0.8718 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.03919, allocations: 0 / 0.8718 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.0393, allocations: 11.98 kB / 0.8718 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.03933, allocations: 19.97 kB / 0.8719 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.03935, allocations: 4 kB / 0.8719 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001347/0.03948, allocations: 203.2 kB / 0.8721 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.03948, allocations: 0 / 0.8721 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003607/0.03984, allocations: 191.5 kB / 0.8722 GB, free: 11.11 MB / 0.8386 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.0002293/0.04007, allocations: 168.1 kB / 0.8724 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.04028, allocations: 148.3 kB / 0.8725 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.04029, allocations: 8 kB / 0.8726 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.04036, allocations: 71.66 kB / 0.8726 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.04097, allocations: 283.4 kB / 0.8729 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.04227, allocations: 0.9761 MB / 0.8738 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.357e-05/0.04236, allocations: 137.3 kB / 0.874 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.04255, allocations: 92.48 kB / 0.8741 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.04289, allocations: 235.1 kB / 0.8743 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.04289, allocations: 0 / 0.8743 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of Templates: time 0.01286/0.05575, allocations: 10.38 MB / 0.8844 GB, free: 14.82 MB / 0.8542 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.3773197918199]