Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001268/0.001268, 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.001324/0.001324, allocations: 165 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.9733/0.9733, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.794/1.794, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.865e-05, allocations: 6.906 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008099/0.008127, allocations: 8.739 MB / 0.7957 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.01271, allocations: 3.285 MB / 0.7989 GB, free: 492 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000647/0.01335, allocations: 36.19 kB / 0.7989 GB, free: 456 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.01393, allocations: 179.2 kB / 0.7991 GB, free: 276 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.01543, allocations: 0.6776 MB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.0168, allocations: 0.6443 MB / 0.8004 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.01871, allocations: 1.624 MB / 0.8019 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.01943, allocations: 417.2 kB / 0.8023 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.02103, allocations: 0.7684 MB / 0.8031 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.02168, allocations: 414.7 kB / 0.8035 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.02176, allocations: 48 kB / 0.8035 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.02236, allocations: 260.4 kB / 0.8038 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.02251, allocations: 147.4 kB / 0.8039 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.02274, allocations: 220.5 kB / 0.8041 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.02378, allocations: 0.6229 MB / 0.8047 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.02378, allocations: 0 / 0.8047 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02379, allocations: 1.094 kB / 0.8047 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.02379, allocations: 0 / 0.8047 GB, free: 10.47 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001173/0.02497, allocations: 0.8976 MB / 0.8056 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.02501, allocations: 8.812 kB / 0.8056 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.02529, allocations: 108.4 kB / 0.8057 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.02599, allocations: 495.6 kB / 0.8062 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.02602, allocations: 29.38 kB / 0.8062 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.02609, allocations: 44.38 kB / 0.8063 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.02664, allocations: 419.9 kB / 0.8067 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.02666, allocations: 0 / 0.8067 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.0267, allocations: 16 kB / 0.8067 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.02673, allocations: 8 kB / 0.8067 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.02704, allocations: 165.8 kB / 0.8069 GB, free: 8.199 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.02897, allocations: 1.59 MB / 0.8084 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.02937, allocations: 167.2 kB / 0.8086 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.02947, allocations: 59.66 kB / 0.8086 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.02971, allocations: 71.92 kB / 0.8087 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.02974, allocations: 41.39 kB / 0.8087 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.02974, allocations: 0 / 0.8087 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0004884/0.03023, allocations: 243 kB / 0.809 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.03025, allocations: 51.41 kB / 0.809 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.03061, allocations: 426.6 kB / 0.8094 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.03064, allocations: 33.7 kB / 0.8095 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.03081, allocations: 319.2 kB / 0.8098 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.03087, allocations: 103.1 kB / 0.8099 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.03097, allocations: 79.64 kB / 0.8099 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.03113, allocations: 0.5273 MB / 0.8104 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.442e-05/0.03123, allocations: 44.62 kB / 0.8105 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.0314, allocations: 219.8 kB / 0.8107 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.03164, allocations: 186.2 kB / 0.8109 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.03165, allocations: 4 kB / 0.8109 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003979/0.03204, allocations: 277.6 kB / 0.8111 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.03206, allocations: 8 kB / 0.8112 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.03207, allocations: 0 / 0.8112 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.03208, allocations: 4 kB / 0.8112 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.03231, allocations: 71.89 kB / 0.8112 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.03232, allocations: 12.16 kB / 0.8112 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.03247, allocations: 31.78 kB / 0.8113 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.0325, allocations: 19.97 kB / 0.8113 GB, free: 3.422 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000123/0.03263, allocations: 176.5 kB / 0.8115 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.03271, allocations: 55.72 kB / 0.8115 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.03323, allocations: 321.2 kB / 0.8118 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.03324, allocations: 4 kB / 0.8118 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.03324, allocations: 4 kB / 0.8118 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003324/0.03357, allocations: 440 kB / 0.8122 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.03472, allocations: 0.8506 MB / 0.8131 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.03472, allocations: 4 kB / 0.8131 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.03488, allocations: 44.16 kB / 0.8131 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.03489, allocations: 8 kB / 0.8131 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.03492, allocations: 11.94 kB / 0.8131 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.03492, allocations: 7.938 kB / 0.8131 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.03492, allocations: 4 kB / 0.8131 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.03545, allocations: 0.5006 MB / 0.8136 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.03557, allocations: 91.59 kB / 0.8137 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.03561, allocations: 11.94 kB / 0.8137 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.03578, allocations: 15.98 kB / 0.8138 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.03582, allocations: 15.97 kB / 0.8138 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.03585, allocations: 23.98 kB / 0.8138 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000213/0.03606, allocations: 279.1 kB / 0.8141 GB, free: 400 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.03606, allocations: 0 / 0.8141 GB, free: 400 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005199/0.03658, allocations: 187.5 kB / 0.8142 GB, free: 212 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003498/0.03693, allocations: 203 kB / 0.8144 GB, free: 0 / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.03728, allocations: 179.5 kB / 0.8146 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03728, allocations: 0 / 0.8146 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.03743, allocations: 104.2 kB / 0.8147 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.03838, allocations: 262.2 kB / 0.8149 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.0399, allocations: 0.9179 MB / 0.8158 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.04, allocations: 133.8 kB / 0.816 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.04025, allocations: 100.2 kB / 0.8161 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.04035, allocations: 52.42 kB / 0.8161 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.04035, allocations: 0 / 0.8161 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.01601/0.05636, allocations: 10.96 MB / 0.8268 GB, free: 3.48 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.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.403317832853645]