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.001059/0.001059, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001071/0.001071, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.059/1.059, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.513e-06/1.513e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.798e-05, allocations: 4.031 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.01057/0.01059, allocations: 12.31 MB / 0.7721 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007332/0.01792, allocations: 5.453 MB / 0.7774 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.01874, allocations: 68.59 kB / 0.7774 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.01928, allocations: 254 kB / 0.7777 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.02114, allocations: 0.8805 MB / 0.7785 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.02215, allocations: 0.651 MB / 0.7792 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.02413, allocations: 2.073 MB / 0.7812 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/0.02509, allocations: 0.5668 MB / 0.7818 GB, free: 380 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.02628, allocations: 0.9461 MB / 0.7827 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.02681, allocations: 491.1 kB / 0.7832 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.02688, allocations: 68.62 kB / 0.7832 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.02734, allocations: 275.5 kB / 0.7835 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.02747, allocations: 204.2 kB / 0.7837 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.02766, allocations: 267.4 kB / 0.7839 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.02838, allocations: 0.7358 MB / 0.7847 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.02839, allocations: 1.125 kB / 0.7847 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.02839, allocations: 4 kB / 0.7847 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.475e-06/0.0284, allocations: 0 / 0.7847 GB, free: 13.41 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.0009985/0.02939, allocations: 0.9322 MB / 0.7856 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.02945, allocations: 13.31 kB / 0.7856 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.02964, allocations: 104.8 kB / 0.7857 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.03023, allocations: 496.3 kB / 0.7862 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.03026, allocations: 39.06 kB / 0.7862 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.03031, allocations: 56.36 kB / 0.7862 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.03074, allocations: 496.9 kB / 0.7867 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.03076, allocations: 0.8125 kB / 0.7867 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.03079, allocations: 20 kB / 0.7867 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.03082, allocations: 19.94 kB / 0.7868 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.03111, allocations: 143.7 kB / 0.7869 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.0352, allocations: 1.682 MB / 0.7885 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.03574, allocations: 182.8 kB / 0.7887 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.03584, allocations: 51.66 kB / 0.7888 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.03721, allocations: 0.5815 MB / 0.7893 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.03724, allocations: 38.56 kB / 0.7894 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.875e-06/0.03725, allocations: 1 kB / 0.7894 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.000375/0.03762, allocations: 185.4 kB / 0.7895 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.03765, allocations: 57.31 kB / 0.7896 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.03811, allocations: 456.7 kB / 0.79 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.03814, allocations: 25.7 kB / 0.7901 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.03834, allocations: 313 kB / 0.7904 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.0384, allocations: 71.38 kB / 0.7904 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.03851, allocations: 78.2 kB / 0.7905 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.03865, allocations: 367.6 kB / 0.7908 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.03874, allocations: 30.81 kB / 0.7909 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.03897, allocations: 289.2 kB / 0.7912 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.03927, allocations: 239.7 kB / 0.7914 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.03928, allocations: 5.406 kB / 0.7914 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003984/0.03968, allocations: 236.7 kB / 0.7916 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.0397, allocations: 11.31 kB / 0.7916 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.03971, allocations: 4 kB / 0.7916 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.03974, allocations: 14.17 kB / 0.7916 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.03997, allocations: 67.91 kB / 0.7917 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.03998, allocations: 15.92 kB / 0.7917 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.04024, allocations: 39.73 kB / 0.7918 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.04028, allocations: 12 kB / 0.7918 GB, free: 5.746 MB / 0.7448 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.0001692/0.04045, allocations: 149.5 kB / 0.7919 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.04052, allocations: 35.95 kB / 0.7919 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.0409, allocations: 195.4 kB / 0.7921 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.04091, allocations: 4 kB / 0.7921 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.04091, allocations: 3.938 kB / 0.7921 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000284/0.04119, allocations: 351.3 kB / 0.7925 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.04215, allocations: 0.5909 MB / 0.7931 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.04216, allocations: 0 / 0.7931 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.04238, allocations: 52.94 kB / 0.7931 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.04239, allocations: 0 / 0.7931 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.04241, allocations: 10.17 kB / 0.7931 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.04241, allocations: 0 / 0.7931 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.04242, allocations: 7.938 kB / 0.7931 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.04287, allocations: 358.8 kB / 0.7935 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.04301, allocations: 64.92 kB / 0.7935 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.04307, allocations: 4 kB / 0.7935 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.04329, allocations: 11.98 kB / 0.7935 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.04333, allocations: 28.59 kB / 0.7936 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.04336, allocations: 4 kB / 0.7936 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002453/0.0436, allocations: 200.5 kB / 0.7938 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0436, allocations: 0 / 0.7938 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007436/0.04435, allocations: 199.4 kB / 0.794 GB, free: 3.363 MB / 0.7448 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.0003466/0.04469, allocations: 152 kB / 0.7941 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.045, allocations: 150.8 kB / 0.7942 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/0.04502, allocations: 4 kB / 0.7942 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.04513, allocations: 71.97 kB / 0.7943 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.04623, allocations: 298.5 kB / 0.7946 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.04835, allocations: 0.9879 MB / 0.7956 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.04862, allocations: 143.1 kB / 0.7957 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.04894, allocations: 90.28 kB / 0.7958 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.04931, allocations: 235 kB / 0.796 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of SimCode: time 1.533e-06/0.04931, allocations: 0 / 0.796 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.01508/0.06439, allocations: 10.59 MB / 0.8064 GB, free: 6.91 MB / 0.7605 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 -s gbode -gbm=radauIIA3 -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.289065321907401]