Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_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.001004/0.001004, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007837/0.007837, allocations: 174.9 kB / 16.27 MB, free: 6.613 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 9.297 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02707/0.3524, allocations: 22.51 MB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008494/0.3609, allocations: 5.06 MB / 1.086 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.3619, allocations: 23.81 kB / 1.086 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.3628, allocations: 218.7 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.3653, allocations: 0.7348 MB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.3673, allocations: 0.685 MB / 1.087 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002746/0.3701, allocations: 2.163 MB / 1.089 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.371, allocations: 416.6 kB / 1.09 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3721, allocations: 0.5133 MB / 1.09 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008089/0.373, allocations: 453.9 kB / 1.091 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3731, allocations: 20 kB / 1.091 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.3743, allocations: 458.9 kB / 1.091 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3745, allocations: 115.6 kB / 1.091 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.3749, allocations: 304.2 kB / 1.092 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.3763, allocations: 0.8839 MB / 1.092 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3763, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3763, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.3764, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8419 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.001401/0.3778, allocations: 0.787 MB / 1.093 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3778, allocations: 11.97 kB / 1.093 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.378, allocations: 74.72 kB / 1.093 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.3782, allocations: 68.19 kB / 1.093 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3793, allocations: 0.5724 MB / 1.094 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3793, allocations: 29 kB / 1.094 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.3794, allocations: 36 kB / 1.094 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.3802, allocations: 436.7 kB / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3802, allocations: 4 kB / 1.094 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.3802, allocations: 16 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.3803, allocations: 8 kB / 1.094 GB, free: 96 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.3808, allocations: 307.8 kB / 1.095 GB, free: 15.79 MB / 0.8575 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.002868/0.3837, allocations: 1.927 MB / 1.097 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.3842, allocations: 262.2 kB / 1.097 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3845, allocations: 124.8 kB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008815/0.3853, allocations: 0.8584 MB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3854, allocations: 46.48 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 2.574e-06/0.3854, allocations: 0 / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007095/0.3861, allocations: 374.1 kB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3862, allocations: 51.41 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.3868, allocations: 477.9 kB / 1.099 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3868, allocations: 29.7 kB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3871, allocations: 252.1 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3872, allocations: 94.59 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.3872, allocations: 37.7 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3874, allocations: 358.8 kB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3875, allocations: 96.61 kB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3878, allocations: 180 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.3882, allocations: 279.2 kB / 1.1 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.3882, allocations: 0 / 1.1 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006355/0.3888, allocations: 368.8 kB / 1.1 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3889, allocations: 4 kB / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3889, allocations: 3.938 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3889, allocations: 11.88 kB / 1.1 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.3892, allocations: 71.89 kB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3892, allocations: 7.938 kB / 1.1 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3895, allocations: 47.81 kB / 1.101 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3896, allocations: 15.98 kB / 1.101 GB, free: 9.438 MB / 0.8575 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.0002276/0.3898, allocations: 181.7 kB / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.3899, allocations: 51.34 kB / 1.101 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/0.3907, allocations: 461.2 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.3908, allocations: 11.92 kB / 1.101 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3908, allocations: 0 / 1.101 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005755/0.3914, allocations: 0.5702 MB / 1.102 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.3933, allocations: 1.164 MB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.3934, allocations: 8 kB / 1.103 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3936, allocations: 47.92 kB / 1.103 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3936, allocations: 0 / 1.103 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3937, allocations: 15.98 kB / 1.103 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3937, allocations: 3.938 kB / 1.103 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3937, allocations: 4 kB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.3946, allocations: 0.6679 MB / 1.104 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.3949, allocations: 180.4 kB / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.395, allocations: 15.94 kB / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3953, allocations: 27.83 kB / 1.104 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.3954, allocations: 23.91 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3954, allocations: 16 kB / 1.104 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004487/0.3959, allocations: 346.8 kB / 1.104 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3959, allocations: 4 kB / 1.104 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007262/0.3966, allocations: 191.8 kB / 1.104 GB, free: 5.246 MB / 0.8575 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.001792/0.3984, allocations: 1.378 MB / 1.106 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.399, allocations: 284.4 kB / 1.106 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.399, allocations: 0 / 1.106 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.3993, allocations: 159.8 kB / 1.106 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.4011, allocations: 323.4 kB / 1.106 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.4075, allocations: 4.524 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.408, allocations: 0.863 MB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000513/0.4086, allocations: 124.6 kB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.4089, allocations: 195.4 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 1.503e-06/0.4089, allocations: 0 / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.4511, allocations: 15.97 MB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.4513, allocations: 244.1 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.62, allocations: 0 / 1.128 GB, free: 13.27 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches