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.0009873/0.0009873, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009393/0.0009393, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.13/2.13, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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.863e-06/1.863e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.335e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.363 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.01357/0.0136, allocations: 12.37 MB / 0.8902 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.02347, allocations: 5.351 MB / 0.8955 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.02582, allocations: 75.31 kB / 0.8955 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.02681, allocations: 238.2 kB / 0.8958 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.02924, allocations: 0.8857 MB / 0.8966 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.0307, allocations: 0.6471 MB / 0.8973 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.03328, allocations: 2.049 MB / 0.8993 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008954/0.03417, allocations: 0.5044 MB / 0.8997 GB, free: 188 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.03614, allocations: 0.9498 MB / 0.9007 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.03694, allocations: 0.5101 MB / 0.9012 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.03704, allocations: 60 kB / 0.9012 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009653/0.038, allocations: 271.5 kB / 0.9015 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.03816, allocations: 195.2 kB / 0.9017 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.03843, allocations: 275.3 kB / 0.9019 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.03955, allocations: 0.7396 MB / 0.9027 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.03956, allocations: 0 / 0.9027 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.03956, allocations: 0 / 0.9027 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.03958, allocations: 0 / 0.9027 GB, free: 13.2 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.001369/0.04095, allocations: 1.052 MB / 0.9037 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.041, allocations: 15.97 kB / 0.9037 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.04127, allocations: 128.4 kB / 0.9038 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.04198, allocations: 0.5995 MB / 0.9044 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.04201, allocations: 37.38 kB / 0.9044 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.04208, allocations: 56.33 kB / 0.9045 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.04271, allocations: 0.5308 MB / 0.905 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.04273, allocations: 4 kB / 0.905 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.04276, allocations: 20 kB / 0.905 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.0428, allocations: 12 kB / 0.9051 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.04312, allocations: 189.8 kB / 0.9052 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.04521, allocations: 2.322 MB / 0.9075 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.04562, allocations: 159 kB / 0.9077 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.04571, allocations: 59.66 kB / 0.9077 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.04674, allocations: 0.7187 MB / 0.9084 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.04677, allocations: 37.39 kB / 0.9084 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.04677, allocations: 0 / 0.9084 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004342/0.04721, allocations: 201.2 kB / 0.9086 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.04724, allocations: 55.41 kB / 0.9087 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.04765, allocations: 0.4985 MB / 0.9092 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.04767, allocations: 29.7 kB / 0.9092 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.04787, allocations: 414.5 kB / 0.9096 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.04792, allocations: 83.31 kB / 0.9097 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/0.04801, allocations: 83.3 kB / 0.9098 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.04826, allocations: 0.5352 MB / 0.9103 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.04835, allocations: 35.98 kB / 0.9103 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.04856, allocations: 351.7 kB / 0.9107 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.04883, allocations: 302.8 kB / 0.9109 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.04884, allocations: 8 kB / 0.911 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003884/0.04923, allocations: 314.4 kB / 0.9113 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.04925, allocations: 10.34 kB / 0.9113 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.04926, allocations: 4 kB / 0.9113 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.04928, allocations: 8 kB / 0.9113 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.04944, allocations: 71.84 kB / 0.9113 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.04946, allocations: 15.92 kB / 0.9114 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.04961, allocations: 39.73 kB / 0.9114 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.04964, allocations: 20 kB / 0.9114 GB, free: 3.719 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.0003222/0.04996, allocations: 176.5 kB / 0.9116 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.05003, allocations: 59.73 kB / 0.9116 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.05036, allocations: 234.1 kB / 0.9119 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.05037, allocations: 0 / 0.9119 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.05037, allocations: 3.938 kB / 0.9119 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002552/0.05063, allocations: 398.6 kB / 0.9122 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.05146, allocations: 0.7651 MB / 0.913 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.05146, allocations: 128 / 0.913 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.05159, allocations: 47.91 kB / 0.913 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.0516, allocations: 4 kB / 0.913 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.05161, allocations: 4 kB / 0.913 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.05162, allocations: 8 kB / 0.9131 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.05162, allocations: 3.938 kB / 0.9131 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.05205, allocations: 443.4 kB / 0.9135 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.05215, allocations: 79.56 kB / 0.9136 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.0522, allocations: 8 kB / 0.9136 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.05232, allocations: 19.95 kB / 0.9136 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.05235, allocations: 15.97 kB / 0.9136 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.05237, allocations: 15.98 kB / 0.9136 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002467/0.05262, allocations: 322.8 kB / 0.9139 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.05262, allocations: 3.938 kB / 0.9139 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005311/0.05315, allocations: 195.5 kB / 0.9141 GB, free: 0.7773 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.0003202/0.05347, allocations: 171 kB / 0.9143 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.05379, allocations: 178.3 kB / 0.9144 GB, free: 432 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.05379, allocations: 64 / 0.9144 GB, free: 432 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.0539, allocations: 93.3 kB / 0.9145 GB, free: 336 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.05467, allocations: 281.6 kB / 0.9148 GB, free: 60 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.05669, allocations: 0.964 MB / 0.9157 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0568, allocations: 145.3 kB / 0.9159 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003018/0.0571, allocations: 100.5 kB / 0.916 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.05718, allocations: 44.48 kB / 0.916 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/0.05718, allocations: 0 / 0.916 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.01611/0.07329, allocations: 10.37 MB / 0.9261 GB, free: 4.59 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: 6.0577707551419735]