Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 109.4 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 189.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.04036/1.059, allocations: 23.24 MB / 1.19 GB, free: 12.49 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.071, allocations: 5.093 MB / 1.195 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/1.073, allocations: 27.81 kB / 1.195 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/1.074, allocations: 286 kB / 1.195 GB, free: 7.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004289/1.079, allocations: 0.8241 MB / 1.196 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/1.083, allocations: 0.7787 MB / 1.197 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003807/1.086, allocations: 1.621 MB / 1.198 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/1.087, allocations: 485.5 kB / 1.199 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/1.09, allocations: 0.6241 MB / 1.2 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/1.091, allocations: 446 kB / 1.2 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/1.091, allocations: 48 kB / 1.2 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/1.093, allocations: 495.1 kB / 1.2 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/1.093, allocations: 143.4 kB / 1.201 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005697/1.094, allocations: 310.5 kB / 1.201 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/1.096, allocations: 0.9269 MB / 1.202 GB, free: 420 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/1.096, allocations: 7.938 kB / 1.202 GB, free: 412 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/1.097, allocations: 0 / 1.202 GB, free: 412 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.097, allocations: 0 / 1.202 GB, free: 412 kB / 0.92 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.00226/1.099, allocations: 0.9089 MB / 1.203 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/1.099, allocations: 12.92 kB / 1.203 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/1.099, allocations: 68.56 kB / 1.203 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.101, allocations: 0.5771 MB / 1.203 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/1.101, allocations: 32.94 kB / 1.203 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.101, allocations: 40 kB / 1.203 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.102, allocations: 432.7 kB / 1.204 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.102, allocations: 7.938 kB / 1.204 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/1.102, allocations: 16 kB / 1.204 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/1.102, allocations: 8 kB / 1.204 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/1.103, allocations: 303.8 kB / 1.204 GB, free: 13.91 MB / 0.9356 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.003847/1.107, allocations: 1.919 MB / 1.206 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/1.108, allocations: 262.7 kB / 1.206 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/1.108, allocations: 132.7 kB / 1.206 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.109, allocations: 0.8428 MB / 1.207 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/1.109, allocations: 38.56 kB / 1.207 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 3.838e-06/1.109, allocations: 0 / 1.207 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.001149/1.11, allocations: 375.2 kB / 1.208 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/1.111, allocations: 67.33 kB / 1.208 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/1.111, allocations: 482 kB / 1.208 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/1.111, allocations: 29.7 kB / 1.208 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.112, allocations: 256.5 kB / 1.208 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.112, allocations: 99.11 kB / 1.208 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.112, allocations: 73.97 kB / 1.209 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002353/1.112, allocations: 358.8 kB / 1.209 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/1.113, allocations: 100.6 kB / 1.209 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/1.113, allocations: 164.1 kB / 1.209 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/1.114, allocations: 280.2 kB / 1.209 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.114, allocations: 4 kB / 1.209 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009303/1.115, allocations: 365.3 kB / 1.21 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.115, allocations: 8 kB / 1.21 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.115, allocations: 4 kB / 1.21 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.115, allocations: 4 kB / 1.21 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/1.115, allocations: 71.84 kB / 1.21 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.115, allocations: 7.938 kB / 1.21 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/1.116, allocations: 43.67 kB / 1.21 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/1.116, allocations: 12 kB / 1.21 GB, free: 7.531 MB / 0.9356 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.0003617/1.116, allocations: 189.7 kB / 1.21 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/1.116, allocations: 51.72 kB / 1.21 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.118, allocations: 470.6 kB / 1.211 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/1.118, allocations: 3.938 kB / 1.211 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.118, allocations: 8 kB / 1.211 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/1.119, allocations: 0.5645 MB / 1.211 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.122, allocations: 1.156 MB / 1.212 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.122, allocations: 0 / 1.212 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/1.122, allocations: 51.91 kB / 1.212 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/1.122, allocations: 4 kB / 1.212 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/1.122, allocations: 15.98 kB / 1.212 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.122, allocations: 4 kB / 1.212 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.122, allocations: 3.938 kB / 1.212 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.123, allocations: 0.6652 MB / 1.213 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/1.124, allocations: 176.6 kB / 1.213 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/1.124, allocations: 8 kB / 1.213 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.124, allocations: 19.98 kB / 1.213 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/1.124, allocations: 23.97 kB / 1.213 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/1.124, allocations: 19.94 kB / 1.213 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004903/1.125, allocations: 346.8 kB / 1.214 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.125, allocations: 0 / 1.214 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000719/1.125, allocations: 203.5 kB / 1.214 GB, free: 3.355 MB / 0.9356 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007733/1.126, allocations: 298.2 kB / 1.214 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005828/1.127, allocations: 300.2 kB / 1.214 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.127, allocations: 4.062 kB / 1.214 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.127, allocations: 166.6 kB / 1.215 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.128, allocations: 328.1 kB / 1.215 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.13, allocations: 1.086 MB / 1.216 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/1.131, allocations: 0.8627 MB / 1.217 GB, free: 268 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003851/1.131, allocations: 116.7 kB / 1.217 GB, free: 152 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/1.132, allocations: 59.34 kB / 1.217 GB, free: 92 kB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/1.132, allocations: 7.875 kB / 1.217 GB, free: 84 kB / 0.9356 GB Notification: Performance of Templates: time 0.02434/1.156, allocations: 12.27 MB / 1.229 GB, free: 3.996 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches