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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007054/0.007054, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001509/0.001509, allocations: 200.2 kB / 16.68 MB, free: 6.371 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02565/0.3889, allocations: 23.28 MB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009007/0.3979, allocations: 5.094 MB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3992, allocations: 23.88 kB / 1.248 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.4003, allocations: 294 kB / 1.249 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.4031, allocations: 0.8315 MB / 1.249 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6515/1.055, allocations: 0.7565 MB / 1.25 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002793/1.057, allocations: 1.618 MB / 1.252 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.058, allocations: 413.5 kB / 1.252 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/1.061, allocations: 0.631 MB / 1.253 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009312/1.062, allocations: 458.5 kB / 1.253 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/1.062, allocations: 45.91 kB / 1.253 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/1.063, allocations: 491 kB / 1.254 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/1.064, allocations: 146.2 kB / 1.254 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/1.064, allocations: 310.5 kB / 1.254 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/1.066, allocations: 0.9265 MB / 1.255 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.066, allocations: 0 / 1.255 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.066, allocations: 0 / 1.255 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.066, allocations: 1.406 kB / 1.255 GB, free: 5.91 MB / 0.9981 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.001452/1.067, allocations: 0.9092 MB / 1.256 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.068, allocations: 9.219 kB / 1.256 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/1.068, allocations: 70.59 kB / 1.256 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/1.069, allocations: 0.5787 MB / 1.257 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/1.069, allocations: 29.06 kB / 1.257 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/1.069, allocations: 45.06 kB / 1.257 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/1.069, allocations: 438.5 kB / 1.257 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/1.07, allocations: 3.641 kB / 1.257 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/1.07, allocations: 18.19 kB / 1.257 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/1.07, allocations: 13.3 kB / 1.257 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/1.07, allocations: 302.1 kB / 1.257 GB, free: 4.945 MB / 0.9981 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.002742/1.073, allocations: 1.921 MB / 1.259 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/1.073, allocations: 252.5 kB / 1.26 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/1.073, allocations: 110.9 kB / 1.26 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006841/1.074, allocations: 0.8511 MB / 1.26 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.074, allocations: 34.48 kB / 1.26 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/1.074, allocations: 0 / 1.26 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0007781/1.075, allocations: 376.5 kB / 1.261 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/1.075, allocations: 54.28 kB / 1.261 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/1.076, allocations: 474.4 kB / 1.261 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/1.076, allocations: 32.39 kB / 1.261 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/1.076, allocations: 270.8 kB / 1.262 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/1.076, allocations: 103.1 kB / 1.262 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.076, allocations: 67.33 kB / 1.262 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/1.076, allocations: 360.3 kB / 1.262 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.076, allocations: 99.02 kB / 1.262 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.076, allocations: 170.7 kB / 1.262 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/1.077, allocations: 277 kB / 1.263 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.077, allocations: 0 / 1.263 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005698/1.077, allocations: 370.9 kB / 1.263 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.077, allocations: 5.953 kB / 1.263 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.077, allocations: 5.344 kB / 1.263 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.077, allocations: 2.625 kB / 1.263 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/1.078, allocations: 73.97 kB / 1.263 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.078, allocations: 7.172 kB / 1.263 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/1.078, allocations: 38.56 kB / 1.263 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/1.078, allocations: 18.81 kB / 1.263 GB, free: 1.891 MB / 0.9981 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.0002028/1.078, allocations: 181.7 kB / 1.263 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/1.078, allocations: 51.91 kB / 1.263 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/1.079, allocations: 474.9 kB / 1.264 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.079, allocations: 8.078 kB / 1.264 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.079, allocations: 3.938 kB / 1.264 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007064/1.08, allocations: 0.5652 MB / 1.264 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.082, allocations: 1.157 MB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.082, allocations: 7.375 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/1.082, allocations: 52.89 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/1.082, allocations: 2.625 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/1.083, allocations: 11.02 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.083, allocations: 3.719 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.083, allocations: 2.156 kB / 1.266 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/1.084, allocations: 0.6773 MB / 1.266 GB, free: 16.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/1.084, allocations: 172.9 kB / 1.266 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/1.084, allocations: 7.938 kB / 1.266 GB, free: 16.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/1.084, allocations: 14.34 kB / 1.266 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.084, allocations: 25.25 kB / 1.266 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/1.084, allocations: 17.53 kB / 1.267 GB, free: 16.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006248/1.085, allocations: 344.3 kB / 1.267 GB, free: 16.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.085, allocations: 4.781 kB / 1.267 GB, free: 16.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001053/1.086, allocations: 207.1 kB / 1.267 GB, free: 16.38 MB / 1.014 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.0007911/1.087, allocations: 298.2 kB / 1.267 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006954/1.088, allocations: 273.7 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.088, allocations: 4.688 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/1.088, allocations: 149.6 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.09, allocations: 341.4 kB / 1.268 GB, free: 16.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.092, allocations: 1.075 MB / 1.269 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/1.092, allocations: 0.8633 MB / 1.27 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005674/1.093, allocations: 121.6 kB / 1.27 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.093, allocations: 54.02 kB / 1.27 GB, free: 14.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.422e-06/1.093, allocations: 0 / 1.27 GB, free: 14.9 MB / 1.014 GB Notification: Performance of Templates: time 0.02882/1.122, allocations: 12.3 MB / 1.282 GB, free: 13.91 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches