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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009364/0.0009365, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.008151/0.008151, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 12 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6885, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2139/0.9025, allocations: 163.2 MB / 1.182 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007457/0.91, allocations: 6.465 MB / 1.189 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.9104, allocations: 11.94 kB / 1.189 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.9109, allocations: 135.1 kB / 1.189 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.9128, allocations: 0.786 MB / 1.19 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.9137, allocations: 295.4 kB / 1.19 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.9147, allocations: 1.01 MB / 1.191 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.9151, allocations: 226.1 kB / 1.191 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.9162, allocations: 0.4942 MB / 1.192 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.9166, allocations: 270.9 kB / 1.192 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.9167, allocations: 16 kB / 1.192 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.9174, allocations: 395 kB / 1.192 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.9175, allocations: 103.6 kB / 1.192 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.9177, allocations: 172.9 kB / 1.193 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.9183, allocations: 482.4 kB / 1.193 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9183, allocations: 0 / 1.193 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9183, allocations: 0 / 1.193 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.9183, allocations: 0 / 1.193 GB, free: 1.219 MB / 0.9356 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.0008375/0.9192, allocations: 0.5534 MB / 1.194 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9192, allocations: 8.031 kB / 1.194 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.122e-05/0.9193, allocations: 66.47 kB / 1.194 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.9196, allocations: 71.38 kB / 1.194 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.92, allocations: 301.3 kB / 1.194 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.92, allocations: 20.56 kB / 1.194 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.9201, allocations: 24 kB / 1.194 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.9207, allocations: 327.7 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9207, allocations: 0 / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.9207, allocations: 8 kB / 1.194 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.9207, allocations: 11.98 kB / 1.194 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.9212, allocations: 217.4 kB / 1.195 GB, free: 15.51 MB / 0.9512 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.001578/0.9227, allocations: 1.538 MB / 1.196 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.923, allocations: 134.5 kB / 1.196 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.9232, allocations: 92.8 kB / 1.196 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007174/0.924, allocations: 319.2 kB / 1.197 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.924, allocations: 38.55 kB / 1.197 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.924, allocations: 0 / 1.197 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007732/0.9248, allocations: 293 kB / 1.197 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.9248, allocations: 55.41 kB / 1.197 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.9252, allocations: 312.5 kB / 1.197 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.9252, allocations: 29.7 kB / 1.197 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.9254, allocations: 188.1 kB / 1.197 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.9254, allocations: 39.36 kB / 1.198 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.9254, allocations: 21.7 kB / 1.198 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9256, allocations: 342.8 kB / 1.198 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.9258, allocations: 63.95 kB / 1.198 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.926, allocations: 117.1 kB / 1.198 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.9263, allocations: 188.9 kB / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.9263, allocations: 0 / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004561/0.9268, allocations: 229.2 kB / 1.198 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9268, allocations: 4.781 kB / 1.198 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9268, allocations: 0 / 1.198 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.9269, allocations: 4 kB / 1.198 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.927, allocations: 36.14 kB / 1.198 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.927, allocations: 4 kB / 1.198 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.9272, allocations: 47.66 kB / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.9273, allocations: 4 kB / 1.199 GB, free: 11.16 MB / 0.9512 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.000161/0.9275, allocations: 165.7 kB / 1.199 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.9275, allocations: 23.72 kB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.928, allocations: 224.2 kB / 1.199 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.928, allocations: 4 kB / 1.199 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.928, allocations: 0 / 1.199 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.928, allocations: 4 kB / 1.199 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.9291, allocations: 0.6951 MB / 1.2 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9291, allocations: 0 / 1.2 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.9292, allocations: 27.98 kB / 1.2 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9293, allocations: 7.938 kB / 1.2 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.9293, allocations: 7.938 kB / 1.2 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.9293, allocations: 4.219 kB / 1.2 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9293, allocations: 4 kB / 1.2 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.9298, allocations: 345 kB / 1.2 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.9299, allocations: 116.8 kB / 1.2 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.9299, allocations: 11.86 kB / 1.2 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.9301, allocations: 23.92 kB / 1.2 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.9302, allocations: 15.98 kB / 1.2 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.9302, allocations: 4 kB / 1.2 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002132/0.9304, allocations: 223.1 kB / 1.2 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9304, allocations: 0 / 1.2 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003802/0.9308, allocations: 71.89 kB / 1.2 GB, free: 9.062 MB / 0.9512 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.001068/0.9319, allocations: 0.9358 MB / 1.201 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.9323, allocations: 161.2 kB / 1.201 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9323, allocations: 0 / 1.201 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.9325, allocations: 87.83 kB / 1.202 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.9335, allocations: 157 kB / 1.202 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.9371, allocations: 2.942 MB / 1.205 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.9376, allocations: 0.7758 MB / 1.205 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.9378, allocations: 62.94 kB / 1.205 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.938, allocations: 91.41 kB / 1.206 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.938, allocations: 0 / 1.206 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.9602, allocations: 7.549 MB / 1.213 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.9604, allocations: 245.9 kB / 1.213 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.912, allocations: 3.938 kB / 1.213 GB, free: 12.03 MB / 0.9669 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=50 --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