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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.16 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.273, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02286/0.296, allocations: 23.15 MB / 1.075 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006678/0.3027, allocations: 5.124 MB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.3035, allocations: 23.88 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.3043, allocations: 222.6 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.3064, allocations: 0.7271 MB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.3082, allocations: 0.6814 MB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.3106, allocations: 2.167 MB / 1.084 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006599/0.3113, allocations: 417.1 kB / 1.084 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.3123, allocations: 0.5328 MB / 1.084 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.3131, allocations: 461.9 kB / 1.085 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.3132, allocations: 28 kB / 1.085 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.3142, allocations: 462.9 kB / 1.085 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3144, allocations: 119.6 kB / 1.085 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.3147, allocations: 290.5 kB / 1.086 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.316, allocations: 0.8997 MB / 1.087 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3161, allocations: 4 kB / 1.087 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3161, allocations: 0 / 1.087 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.3161, allocations: 0 / 1.087 GB, free: 4.855 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.001546/0.3176, allocations: 0.8843 MB / 1.088 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3177, allocations: 15.97 kB / 1.088 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.3178, allocations: 74.72 kB / 1.088 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.318, allocations: 68.19 kB / 1.088 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.319, allocations: 0.5647 MB / 1.088 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.319, allocations: 32.94 kB / 1.088 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.3191, allocations: 36 kB / 1.088 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.3198, allocations: 440.7 kB / 1.089 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3198, allocations: 0 / 1.089 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.3198, allocations: 19.98 kB / 1.089 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3198, allocations: 15.98 kB / 1.089 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.3203, allocations: 303.7 kB / 1.089 GB, free: 2.301 MB / 0.8419 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.00261/0.3229, allocations: 1.911 MB / 1.091 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.3234, allocations: 258.7 kB / 1.091 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3236, allocations: 124.8 kB / 1.091 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.3246, allocations: 0.8506 MB / 1.092 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.3246, allocations: 42.56 kB / 1.092 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.3247, allocations: 0 / 1.092 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0009265/0.3256, allocations: 366.8 kB / 1.092 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3256, allocations: 59.34 kB / 1.093 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.3263, allocations: 477.9 kB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3263, allocations: 33.64 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3265, allocations: 264.1 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.3266, allocations: 90.66 kB / 1.093 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3268, allocations: 69.92 kB / 1.093 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3269, allocations: 358.8 kB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3271, allocations: 104.6 kB / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.3273, allocations: 164 kB / 1.094 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.3278, allocations: 291.2 kB / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3278, allocations: 0 / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006814/0.3285, allocations: 352.9 kB / 1.095 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3285, allocations: 9.25 kB / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3285, allocations: 0 / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3286, allocations: 11.88 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3288, allocations: 75.89 kB / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3289, allocations: 8.219 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3292, allocations: 43.58 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.3292, allocations: 16 kB / 1.095 GB, free: 11.95 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.0002795/0.3295, allocations: 177.7 kB / 1.095 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.3297, allocations: 47.44 kB / 1.095 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.3305, allocations: 473 kB / 1.095 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.3306, allocations: 11.94 kB / 1.095 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3306, allocations: 0 / 1.095 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005696/0.3311, allocations: 0.574 MB / 1.096 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3332, allocations: 1.153 MB / 1.097 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3332, allocations: 4 kB / 1.097 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.3334, allocations: 51.91 kB / 1.097 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3334, allocations: 4 kB / 1.097 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3335, allocations: 8 kB / 1.097 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3335, allocations: 4 kB / 1.097 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3335, allocations: 8 kB / 1.097 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.3344, allocations: 0.6717 MB / 1.098 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.3347, allocations: 172.3 kB / 1.098 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.3348, allocations: 8 kB / 1.098 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.3351, allocations: 23.98 kB / 1.098 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.3351, allocations: 23.91 kB / 1.098 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.3353, allocations: 15.98 kB / 1.098 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004283/0.3357, allocations: 342.8 kB / 1.098 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3357, allocations: 0 / 1.098 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006907/0.3364, allocations: 195.7 kB / 1.099 GB, free: 7.777 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.001845/0.3383, allocations: 1.383 MB / 1.1 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3388, allocations: 296.5 kB / 1.1 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3388, allocations: 0 / 1.1 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.3391, allocations: 168.6 kB / 1.1 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.3406, allocations: 311.7 kB / 1.101 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/0.3472, allocations: 4.455 MB / 1.105 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3478, allocations: 0.8669 MB / 1.106 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004834/0.3483, allocations: 124.7 kB / 1.106 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3486, allocations: 191.3 kB / 1.106 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.3486, allocations: 0 / 1.106 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6445/0.9931, allocations: 16.15 MB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.9934, allocations: 234.7 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.356, allocations: 3.938 kB / 1.122 GB, free: 15.67 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