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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_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.001721/0.001721, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.54/2.54, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 75.92 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2511, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02494/0.276, allocations: 23.24 MB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007094/0.2832, allocations: 5.084 MB / 1.092 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.2839, allocations: 27.81 kB / 1.092 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.2847, allocations: 286.1 kB / 1.092 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.2864, allocations: 0.7819 MB / 1.093 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.2881, allocations: 0.763 MB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2898, allocations: 1.602 MB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.2904, allocations: 493.5 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2915, allocations: 0.6062 MB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.2921, allocations: 454 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.2922, allocations: 44 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009006/0.2931, allocations: 491.1 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2932, allocations: 147.5 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.2935, allocations: 310.5 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.2946, allocations: 0.9075 MB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2946, allocations: 4 kB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2946, allocations: 3.938 kB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.2947, allocations: 0 / 1.098 GB, free: 10.9 MB / 0.8575 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.0012/0.2959, allocations: 0.8882 MB / 1.099 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2959, allocations: 8.031 kB / 1.099 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.296, allocations: 78.72 kB / 1.099 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.2962, allocations: 68.19 kB / 1.099 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.2971, allocations: 0.5452 MB / 1.1 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2971, allocations: 29 kB / 1.1 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.2972, allocations: 43.98 kB / 1.1 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.2979, allocations: 440.7 kB / 1.1 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2979, allocations: 0 / 1.1 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.2979, allocations: 16 kB / 1.1 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.298, allocations: 8 kB / 1.101 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.2985, allocations: 303.8 kB / 1.101 GB, free: 8.375 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.002493/0.301, allocations: 1.923 MB / 1.103 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.3015, allocations: 262.8 kB / 1.103 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3017, allocations: 120.9 kB / 1.103 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/0.3025, allocations: 0.8506 MB / 1.104 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3026, allocations: 38.56 kB / 1.104 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.3026, allocations: 0 / 1.104 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0006467/0.3032, allocations: 377.6 kB / 1.104 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.3033, allocations: 59.41 kB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.3038, allocations: 477.9 kB / 1.105 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3039, allocations: 33.7 kB / 1.105 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.304, allocations: 256.1 kB / 1.105 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.3041, allocations: 94.64 kB / 1.105 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3042, allocations: 73.92 kB / 1.105 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3044, allocations: 362.8 kB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3046, allocations: 92.61 kB / 1.106 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3048, allocations: 176 kB / 1.106 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3052, allocations: 283.2 kB / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3052, allocations: 0 / 1.106 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005595/0.3058, allocations: 368.9 kB / 1.106 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3058, allocations: 7.938 kB / 1.106 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3058, allocations: 4 kB / 1.106 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3058, allocations: 7.938 kB / 1.106 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3061, allocations: 71.89 kB / 1.107 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3061, allocations: 0 / 1.107 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3063, allocations: 39.59 kB / 1.107 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3064, allocations: 12 kB / 1.107 GB, free: 2.008 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.0001983/0.3066, allocations: 189.8 kB / 1.107 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.3067, allocations: 47.44 kB / 1.107 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.3075, allocations: 465.3 kB / 1.107 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3075, allocations: 11.94 kB / 1.107 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3075, allocations: 4 kB / 1.107 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005861/0.3081, allocations: 0.5704 MB / 1.108 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.3098, allocations: 1.162 MB / 1.109 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3098, allocations: 0 / 1.109 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.31, allocations: 47.92 kB / 1.109 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.31, allocations: 4 kB / 1.109 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3101, allocations: 11.98 kB / 1.109 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3101, allocations: 8.188 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3101, allocations: 0 / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.3109, allocations: 0.6676 MB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3111, allocations: 172.3 kB / 1.11 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.3112, allocations: 8 kB / 1.11 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3115, allocations: 11.98 kB / 1.11 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3115, allocations: 35.78 kB / 1.11 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.3116, allocations: 23.92 kB / 1.11 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003868/0.312, allocations: 342.9 kB / 1.11 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.312, allocations: 4 kB / 1.11 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005764/0.3125, allocations: 199.8 kB / 1.11 GB, free: 13.83 MB / 0.8731 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.001645/0.3142, allocations: 1.376 MB / 1.112 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3147, allocations: 315.4 kB / 1.112 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3148, allocations: 3.938 kB / 1.112 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.315, allocations: 163.8 kB / 1.112 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.3165, allocations: 335.3 kB / 1.113 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.3217, allocations: 4.304 MB / 1.117 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.3222, allocations: 0.8627 MB / 1.118 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.3226, allocations: 120.6 kB / 1.118 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.3228, allocations: 191.4 kB / 1.118 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.3228, allocations: 4 kB / 1.118 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2578/0.5806, allocations: 16.87 MB / 1.134 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.21, allocations: 7.922 kB / 1.134 GB, free: 5.344 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches