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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007723/0.007723, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001835/0.001835, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.495/2.495, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02754/1.032, allocations: 23.24 MB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008631/1.04, allocations: 5.093 MB / 1.194 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/1.042, allocations: 27.88 kB / 1.194 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/1.043, allocations: 278 kB / 1.194 GB, free: 7.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/1.046, allocations: 0.8241 MB / 1.195 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/1.049, allocations: 0.7821 MB / 1.196 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002512/1.051, allocations: 1.622 MB / 1.197 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/1.052, allocations: 473.6 kB / 1.198 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/1.054, allocations: 0.6342 MB / 1.198 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/1.055, allocations: 450 kB / 1.199 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/1.056, allocations: 48 kB / 1.199 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/1.057, allocations: 491.1 kB / 1.199 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/1.057, allocations: 139.5 kB / 1.199 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/1.058, allocations: 310.5 kB / 1.2 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/1.059, allocations: 0.9152 MB / 1.201 GB, free: 372 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.059, allocations: 4 kB / 1.201 GB, free: 368 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.303e-06/1.059, allocations: 0 / 1.201 GB, free: 368 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.059, allocations: 0 / 1.201 GB, free: 368 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.001339/1.06, allocations: 0.8919 MB / 1.201 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.06, allocations: 12.62 kB / 1.202 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.172e-05/1.061, allocations: 78.7 kB / 1.202 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/1.061, allocations: 68.19 kB / 1.202 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/1.062, allocations: 0.5764 MB / 1.202 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/1.062, allocations: 29 kB / 1.202 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/1.062, allocations: 44 kB / 1.202 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/1.063, allocations: 436.6 kB / 1.203 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.063, allocations: 7.984 kB / 1.203 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/1.063, allocations: 16 kB / 1.203 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/1.063, allocations: 8 kB / 1.203 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/1.063, allocations: 303.8 kB / 1.203 GB, free: 13.79 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.00256/1.066, allocations: 1.915 MB / 1.205 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/1.066, allocations: 258.8 kB / 1.205 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.066, allocations: 124.8 kB / 1.205 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/1.067, allocations: 0.8466 MB / 1.206 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.067, allocations: 42.56 kB / 1.206 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/1.067, allocations: 4 kB / 1.206 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007203/1.068, allocations: 369.5 kB / 1.206 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.068, allocations: 55.41 kB / 1.207 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/1.069, allocations: 482 kB / 1.207 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.069, allocations: 29.7 kB / 1.207 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/1.069, allocations: 264 kB / 1.207 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.069, allocations: 86.75 kB / 1.207 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.069, allocations: 73.92 kB / 1.207 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.069, allocations: 358.8 kB / 1.208 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.07, allocations: 104.5 kB / 1.208 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/1.07, allocations: 164.1 kB / 1.208 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/1.07, allocations: 280.2 kB / 1.208 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.07, allocations: 4 kB / 1.208 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006114/1.071, allocations: 360.9 kB / 1.209 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.071, allocations: 11.98 kB / 1.209 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.071, allocations: 0 / 1.209 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.071, allocations: 7.938 kB / 1.209 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/1.071, allocations: 67.91 kB / 1.209 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.071, allocations: 7.938 kB / 1.209 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/1.072, allocations: 43.52 kB / 1.209 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/1.072, allocations: 15.94 kB / 1.209 GB, free: 7.434 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.0002314/1.072, allocations: 181.9 kB / 1.209 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/1.072, allocations: 51.44 kB / 1.209 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/1.073, allocations: 474.6 kB / 1.209 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.073, allocations: 11.92 kB / 1.209 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.073, allocations: 0 / 1.209 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006527/1.074, allocations: 0.5684 MB / 1.21 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/1.075, allocations: 1.158 MB / 1.211 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.075, allocations: 0 / 1.211 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/1.076, allocations: 47.97 kB / 1.211 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.076, allocations: 7.938 kB / 1.211 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/1.076, allocations: 8 kB / 1.211 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/1.076, allocations: 11.92 kB / 1.211 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.076, allocations: 0 / 1.211 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/1.077, allocations: 0.665 MB / 1.212 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/1.077, allocations: 172.4 kB / 1.212 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/1.077, allocations: 12 kB / 1.212 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/1.077, allocations: 12 kB / 1.212 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/1.077, allocations: 27.91 kB / 1.212 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/1.077, allocations: 19.98 kB / 1.212 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004408/1.078, allocations: 346.8 kB / 1.212 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/1.078, allocations: 0 / 1.212 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006659/1.078, allocations: 195.8 kB / 1.213 GB, free: 3.273 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.002075/1.08, allocations: 1.416 MB / 1.214 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005904/1.081, allocations: 284.1 kB / 1.214 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.081, allocations: 0 / 1.214 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/1.081, allocations: 171.7 kB / 1.214 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.083, allocations: 327.1 kB / 1.215 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/1.089, allocations: 4.207 MB / 1.219 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/1.089, allocations: 0.8666 MB / 1.22 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004036/1.09, allocations: 120.6 kB / 1.22 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.09, allocations: 187.4 kB / 1.22 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/1.09, allocations: 0 / 1.22 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/1.134, allocations: 17 MB / 1.237 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.53, allocations: 6.406 kB / 1.237 GB, free: 10.76 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > 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