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.00577/0.00577, allocations: 101.4 kB / 15.73 MB, free: 6.039 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.001215/0.001215, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.682/2.682, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.89 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3147, allocations: 151.6 MB / 1.166 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8869/1.202, allocations: 167.5 MB / 1.33 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009127/1.211, allocations: 6.543 MB / 1.336 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/1.212, allocations: 15.53 kB / 1.336 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006831/1.212, allocations: 172.8 kB / 1.336 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/1.215, allocations: 0.8739 MB / 1.337 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/1.216, allocations: 326.8 kB / 1.338 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001051/1.217, allocations: 0.7218 MB / 1.338 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/1.218, allocations: 289.2 kB / 1.339 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/1.219, allocations: 0.5547 MB / 1.339 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/1.22, allocations: 281.1 kB / 1.339 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/1.22, allocations: 22 kB / 1.339 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/1.221, allocations: 344.1 kB / 1.34 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/1.221, allocations: 104.9 kB / 1.34 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/1.221, allocations: 163.8 kB / 1.34 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008398/1.222, allocations: 475.1 kB / 1.34 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.222, allocations: 0 / 1.34 GB, free: 12.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.325e-06/1.222, allocations: 0 / 1.34 GB, free: 12.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.198e-06/1.222, allocations: 0 / 1.34 GB, free: 12.76 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.001026/1.223, allocations: 0.6263 MB / 1.341 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.223, allocations: 8.906 kB / 1.341 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.696e-05/1.223, allocations: 61.03 kB / 1.341 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/1.223, allocations: 67.59 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/1.224, allocations: 334.9 kB / 1.341 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.224, allocations: 20.09 kB / 1.341 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/1.224, allocations: 24.84 kB / 1.341 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/1.225, allocations: 318.9 kB / 1.342 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.225, allocations: 0 / 1.342 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/1.225, allocations: 11.94 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.225, allocations: 6.5 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/1.225, allocations: 200.5 kB / 1.342 GB, free: 11.61 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.001685/1.227, allocations: 1.533 MB / 1.343 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/1.227, allocations: 117.1 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/1.227, allocations: 94.55 kB / 1.344 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/1.228, allocations: 303.7 kB / 1.344 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.228, allocations: 40.06 kB / 1.344 GB, free: 9.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.023e-06/1.228, allocations: 0 / 1.344 GB, free: 9.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008309/1.229, allocations: 285.4 kB / 1.344 GB, free: 9.762 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.229, allocations: 54.09 kB / 1.344 GB, free: 9.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/1.229, allocations: 310.3 kB / 1.345 GB, free: 9.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/1.229, allocations: 26.73 kB / 1.345 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/1.229, allocations: 184.4 kB / 1.345 GB, free: 9.348 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/1.23, allocations: 49.94 kB / 1.345 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/1.23, allocations: 38 kB / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.23, allocations: 342.3 kB / 1.345 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.23, allocations: 58.08 kB / 1.345 GB, free: 8.938 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/1.23, allocations: 116.8 kB / 1.345 GB, free: 8.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/1.23, allocations: 179.7 kB / 1.346 GB, free: 8.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.23, allocations: 4.75 kB / 1.346 GB, free: 8.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004499/1.231, allocations: 220.6 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.231, allocations: 4.812 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.231, allocations: 3.656 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.231, allocations: 2.094 kB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/1.231, allocations: 35.11 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/1.231, allocations: 2.656 kB / 1.346 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/1.231, allocations: 29.62 kB / 1.346 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/1.231, allocations: 6.5 kB / 1.346 GB, free: 8.645 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.0001543/1.232, allocations: 156 kB / 1.346 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/1.232, allocations: 28.97 kB / 1.346 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/1.232, allocations: 209.6 kB / 1.346 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.232, allocations: 2.281 kB / 1.346 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.232, allocations: 0 / 1.346 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.232, allocations: 1.969 kB / 1.346 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.233, allocations: 0.6769 MB / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.233, allocations: 1.438 kB / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.233, allocations: 38.61 kB / 1.347 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/1.233, allocations: 3.656 kB / 1.347 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.234, allocations: 4.547 kB / 1.347 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/1.234, allocations: 6.688 kB / 1.347 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.234, allocations: 2.375 kB / 1.347 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/1.234, allocations: 338.4 kB / 1.347 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.234, allocations: 121.2 kB / 1.347 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/1.234, allocations: 7.094 kB / 1.347 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/1.234, allocations: 15.12 kB / 1.347 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/1.234, allocations: 19.86 kB / 1.347 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.234, allocations: 3.781 kB / 1.347 GB, free: 7.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002229/1.235, allocations: 225.1 kB / 1.348 GB, free: 7.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.235, allocations: 3.938 kB / 1.348 GB, free: 7.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00044/1.235, allocations: 70.86 kB / 1.348 GB, free: 7.371 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.001022/1.236, allocations: 0.9261 MB / 1.349 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004382/1.237, allocations: 164.6 kB / 1.349 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.237, allocations: 1.125 kB / 1.349 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/1.237, allocations: 83.19 kB / 1.349 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/1.238, allocations: 153.2 kB / 1.349 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/1.241, allocations: 2.812 MB / 1.352 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/1.242, allocations: 0.7883 MB / 1.353 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002441/1.242, allocations: 60.12 kB / 1.353 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.242, allocations: 96.67 kB / 1.353 GB, free: 3.738 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/1.242, allocations: 0 / 1.353 GB, free: 3.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/1.272, allocations: 8.122 MB / 1.361 GB, free: 1.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/9.293, allocations: 16.25 kB / 1.361 GB, free: 1.371 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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