Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_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.005174/0.005174, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001335/0.001335, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.375/2.375, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 71.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6105/0.8435, allocations: 167.5 MB / 1.33 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007411/0.8509, allocations: 6.549 MB / 1.336 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.8512, allocations: 11.69 kB / 1.336 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.8517, allocations: 167.6 kB / 1.336 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.8535, allocations: 0.8414 MB / 1.337 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.8543, allocations: 330 kB / 1.338 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.8549, allocations: 0.7202 MB / 1.338 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.8553, allocations: 282.7 kB / 1.338 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.8562, allocations: 0.5492 MB / 1.339 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.8566, allocations: 267.6 kB / 1.339 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.8566, allocations: 22.12 kB / 1.339 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.8571, allocations: 345.2 kB / 1.34 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.8573, allocations: 107.7 kB / 1.34 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.8574, allocations: 162.6 kB / 1.34 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.858, allocations: 481 kB / 1.34 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.858, allocations: 1.594 kB / 1.34 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.858, allocations: 0 / 1.34 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.858, allocations: 0 / 1.34 GB, free: 12.64 MB / 1.029 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.000753/0.8588, allocations: 0.6175 MB / 1.341 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.8588, allocations: 8.875 kB / 1.341 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.8589, allocations: 61.62 kB / 1.341 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.8591, allocations: 62.42 kB / 1.341 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.8596, allocations: 336.7 kB / 1.341 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8596, allocations: 20.44 kB / 1.341 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.8596, allocations: 30.28 kB / 1.341 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.8601, allocations: 316.5 kB / 1.342 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8601, allocations: 1.188 kB / 1.342 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.8602, allocations: 10.69 kB / 1.342 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8602, allocations: 6.25 kB / 1.342 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.8606, allocations: 205.9 kB / 1.342 GB, free: 11.5 MB / 1.029 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.001405/0.862, allocations: 1.532 MB / 1.343 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.8622, allocations: 121.5 kB / 1.344 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.8624, allocations: 100.6 kB / 1.344 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.8629, allocations: 298.6 kB / 1.344 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.863, allocations: 34.28 kB / 1.344 GB, free: 9.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.863, allocations: 4 kB / 1.344 GB, free: 9.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006529/0.8636, allocations: 270.4 kB / 1.344 GB, free: 9.668 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8637, allocations: 54.31 kB / 1.344 GB, free: 9.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.864, allocations: 311 kB / 1.345 GB, free: 9.438 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.864, allocations: 30.8 kB / 1.345 GB, free: 9.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.8641, allocations: 186.9 kB / 1.345 GB, free: 9.246 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.8642, allocations: 54.41 kB / 1.345 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.8643, allocations: 37.56 kB / 1.345 GB, free: 9.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8644, allocations: 339.5 kB / 1.345 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.8645, allocations: 57.67 kB / 1.345 GB, free: 8.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.8647, allocations: 112.4 kB / 1.345 GB, free: 8.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.8651, allocations: 177.9 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.8651, allocations: 7.625 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003761/0.8655, allocations: 214.3 kB / 1.346 GB, free: 8.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.8655, allocations: 5 kB / 1.346 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.8655, allocations: 5.578 kB / 1.346 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.8655, allocations: 1.656 kB / 1.346 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.8657, allocations: 38.89 kB / 1.346 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8657, allocations: 4.359 kB / 1.346 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.8658, allocations: 27.58 kB / 1.346 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.8659, allocations: 6.562 kB / 1.346 GB, free: 8.539 MB / 1.029 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.0001551/0.866, allocations: 158.7 kB / 1.346 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.8661, allocations: 29.19 kB / 1.346 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.8665, allocations: 205.6 kB / 1.346 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.8665, allocations: 2 kB / 1.346 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.8665, allocations: 0 / 1.346 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8665, allocations: 0.9375 kB / 1.346 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.8674, allocations: 0.6843 MB / 1.347 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8674, allocations: 1.125 kB / 1.347 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.8675, allocations: 27.12 kB / 1.347 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8675, allocations: 1.562 kB / 1.347 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.8676, allocations: 7.438 kB / 1.347 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.8676, allocations: 6.469 kB / 1.347 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8676, allocations: 6.531 kB / 1.347 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.868, allocations: 338.9 kB / 1.347 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.8681, allocations: 121.6 kB / 1.347 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.8682, allocations: 14.59 kB / 1.347 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8683, allocations: 12.94 kB / 1.347 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.8684, allocations: 14.59 kB / 1.347 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.8684, allocations: 9.312 kB / 1.347 GB, free: 7.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001964/0.8686, allocations: 228.9 kB / 1.348 GB, free: 7.277 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.8686, allocations: 0 / 1.348 GB, free: 7.277 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003214/0.8689, allocations: 70.77 kB / 1.348 GB, free: 7.266 MB / 1.029 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.0009279/0.8698, allocations: 0.9315 MB / 1.349 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.8702, allocations: 156.2 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8702, allocations: 1.812 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.8704, allocations: 89.86 kB / 1.349 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.8712, allocations: 148.5 kB / 1.349 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.8743, allocations: 2.807 MB / 1.352 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.8747, allocations: 0.7836 MB / 1.353 GB, free: 3.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.8748, allocations: 64.7 kB / 1.353 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.875, allocations: 93.59 kB / 1.353 GB, free: 3.641 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.875, allocations: 0 / 1.353 GB, free: 3.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.459/1.334, allocations: 8.121 MB / 1.361 GB, free: 1.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.48, allocations: 13.03 kB / 1.361 GB, free: 1.289 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches