Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001447/0.001447, 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.001491/0.001491, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.571/2.571, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 68.8 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2604, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1772/0.4376, allocations: 167.5 MB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007494/0.4451, allocations: 6.537 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.4455, allocations: 19.88 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.446, allocations: 170.8 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.4478, allocations: 0.8362 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.4485, allocations: 326.7 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.4493, allocations: 0.7135 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.4497, allocations: 278.8 kB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.4506, allocations: 0.5487 MB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.451, allocations: 263 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.4511, allocations: 24 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.4516, allocations: 343.2 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4518, allocations: 111.6 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.4519, allocations: 163.2 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.4525, allocations: 454.6 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4525, allocations: 0 / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4525, allocations: 0 / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4525, allocations: 0 / 1.238 GB, free: 11.22 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008524/0.4534, allocations: 0.631 MB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4534, allocations: 12.03 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/0.4535, allocations: 58.55 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.4538, allocations: 71.52 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.4542, allocations: 301.2 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.4542, allocations: 28.48 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.4543, allocations: 24 kB / 1.239 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.4548, allocations: 327.6 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4548, allocations: 4 kB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.4548, allocations: 8 kB / 1.24 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4548, allocations: 8 kB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.4552, allocations: 201.5 kB / 1.24 GB, free: 9.441 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.001598/0.4569, allocations: 1.542 MB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4571, allocations: 118.5 kB / 1.241 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.4573, allocations: 96.73 kB / 1.241 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.4579, allocations: 303.2 kB / 1.242 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4579, allocations: 34.55 kB / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.4579, allocations: 0 / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0006979/0.4586, allocations: 263 kB / 1.242 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4587, allocations: 59.41 kB / 1.242 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.4591, allocations: 308.5 kB / 1.242 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4591, allocations: 29.7 kB / 1.242 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4592, allocations: 184.1 kB / 1.243 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.4593, allocations: 47.3 kB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.4593, allocations: 37.7 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4595, allocations: 338.8 kB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4597, allocations: 63.89 kB / 1.243 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.4599, allocations: 110.8 kB / 1.243 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.4602, allocations: 180.9 kB / 1.243 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4602, allocations: 0 / 1.243 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004054/0.4606, allocations: 221.1 kB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4607, allocations: 4 kB / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4607, allocations: 4 kB / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4607, allocations: 0 / 1.244 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4608, allocations: 35.92 kB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.4609, allocations: 3.984 kB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.461, allocations: 31.69 kB / 1.244 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.461, allocations: 11.98 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001439/0.4612, allocations: 154.4 kB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.4613, allocations: 23.72 kB / 1.244 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.4617, allocations: 201.3 kB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.4617, allocations: 3.984 kB / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4617, allocations: 11.94 kB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4617, allocations: 0 / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.4627, allocations: 0.6796 MB / 1.245 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4628, allocations: 224 / 1.245 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4629, allocations: 39.86 kB / 1.245 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4629, allocations: 4 kB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4629, allocations: 7.938 kB / 1.245 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4629, allocations: 4 kB / 1.245 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4629, allocations: 0 / 1.245 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.4634, allocations: 333.1 kB / 1.245 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.4635, allocations: 124.7 kB / 1.245 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.4636, allocations: 7.922 kB / 1.245 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4637, allocations: 16 kB / 1.245 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.4638, allocations: 11.92 kB / 1.245 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4638, allocations: 12 kB / 1.245 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002134/0.464, allocations: 223 kB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.464, allocations: 0 / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003434/0.4643, allocations: 71.84 kB / 1.246 GB, free: 3.109 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009719/0.4653, allocations: 0.9151 MB / 1.246 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.4657, allocations: 167.8 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4657, allocations: 0 / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4659, allocations: 83.83 kB / 1.247 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.4667, allocations: 153.6 kB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3759/0.8426, allocations: 2.804 MB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.8428, allocations: 0.7823 MB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.843, allocations: 62.95 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.8432, allocations: 91.39 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.8432, allocations: 0 / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.664/2.507, allocations: 8.041 MB / 1.258 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/13.82, allocations: 19.83 kB / 1.258 GB, free: 187.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches