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.002394/0.002394, allocations: 112.5 kB / 15.73 MB, free: 76 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.002667/0.002666, allocations: 190.7 kB / 16.67 MB, free: 6.539 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.796/2.796, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001998, allocations: 63.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8183/1.134, allocations: 167.5 MB / 1.33 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008667/1.142, allocations: 6.545 MB / 1.336 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/1.143, allocations: 11.5 kB / 1.336 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005785/1.143, allocations: 171.7 kB / 1.336 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/1.146, allocations: 0.8431 MB / 1.337 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/1.147, allocations: 322.7 kB / 1.337 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008589/1.148, allocations: 0.7175 MB / 1.338 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/1.148, allocations: 291.6 kB / 1.338 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/1.149, allocations: 0.5455 MB / 1.339 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/1.15, allocations: 271.9 kB / 1.339 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/1.15, allocations: 22.56 kB / 1.339 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/1.15, allocations: 343.4 kB / 1.34 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/1.151, allocations: 107 kB / 1.34 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/1.151, allocations: 159 kB / 1.34 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006606/1.151, allocations: 479.4 kB / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.151, allocations: 0.9062 kB / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/1.151, allocations: 0 / 1.34 GB, free: 12.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.151, allocations: 0 / 1.34 GB, free: 12.73 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.0009086/1.152, allocations: 0.626 MB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.152, allocations: 10.31 kB / 1.341 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.573e-05/1.153, allocations: 59.55 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/1.153, allocations: 63.11 kB / 1.341 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/1.153, allocations: 340.3 kB / 1.341 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/1.153, allocations: 20.34 kB / 1.341 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/1.153, allocations: 24.78 kB / 1.341 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/1.154, allocations: 323.9 kB / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.154, allocations: 0 / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/1.154, allocations: 11.69 kB / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.154, allocations: 5.656 kB / 1.342 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/1.155, allocations: 204.4 kB / 1.342 GB, free: 11.57 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.001684/1.156, allocations: 1.531 MB / 1.343 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/1.157, allocations: 123.8 kB / 1.344 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/1.157, allocations: 88.77 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.157, allocations: 305.5 kB / 1.344 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.157, allocations: 31.78 kB / 1.344 GB, free: 9.852 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.157, allocations: 0 / 1.344 GB, free: 9.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007567/1.158, allocations: 282.4 kB / 1.344 GB, free: 9.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.158, allocations: 53.53 kB / 1.344 GB, free: 9.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/1.159, allocations: 313.1 kB / 1.345 GB, free: 9.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.159, allocations: 26.95 kB / 1.345 GB, free: 9.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.159, allocations: 181 kB / 1.345 GB, free: 9.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/1.159, allocations: 53.14 kB / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/1.159, allocations: 38.31 kB / 1.345 GB, free: 9.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.159, allocations: 343.6 kB / 1.345 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.159, allocations: 57.2 kB / 1.345 GB, free: 8.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.159, allocations: 110.9 kB / 1.345 GB, free: 8.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/1.16, allocations: 180.7 kB / 1.346 GB, free: 8.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.16, allocations: 5.594 kB / 1.346 GB, free: 8.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004423/1.16, allocations: 217.7 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.16, allocations: 4.938 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.16, allocations: 1.062 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.16, allocations: 3.281 kB / 1.346 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/1.16, allocations: 36.92 kB / 1.346 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.16, allocations: 1.25 kB / 1.346 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.161, allocations: 28.67 kB / 1.346 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/1.161, allocations: 8.531 kB / 1.346 GB, free: 8.621 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.0001596/1.161, allocations: 166.5 kB / 1.346 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.161, allocations: 28.44 kB / 1.346 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/1.161, allocations: 203.1 kB / 1.346 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.161, allocations: 1.312 kB / 1.346 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.161, allocations: 1.094 kB / 1.346 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.161, allocations: 0 / 1.346 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/1.162, allocations: 0.6826 MB / 1.347 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.162, allocations: 5.75 kB / 1.347 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.163, allocations: 29.11 kB / 1.347 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.163, allocations: 2.75 kB / 1.347 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.163, allocations: 7.625 kB / 1.347 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.163, allocations: 9.047 kB / 1.347 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.163, allocations: 6.438 kB / 1.347 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/1.163, allocations: 335.3 kB / 1.347 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.163, allocations: 122.8 kB / 1.347 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/1.163, allocations: 10.41 kB / 1.347 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/1.163, allocations: 20.42 kB / 1.347 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/1.164, allocations: 14.5 kB / 1.347 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.164, allocations: 4.781 kB / 1.347 GB, free: 7.473 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002479/1.164, allocations: 224.8 kB / 1.348 GB, free: 7.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.164, allocations: 0 / 1.348 GB, free: 7.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004022/1.164, allocations: 70.7 kB / 1.348 GB, free: 7.344 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.001075/1.165, allocations: 0.9262 MB / 1.349 GB, free: 6.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004111/1.166, allocations: 161.3 kB / 1.349 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.166, allocations: 0 / 1.349 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/1.166, allocations: 82.92 kB / 1.349 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/1.167, allocations: 154.5 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/1.17, allocations: 2.809 MB / 1.352 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/1.171, allocations: 0.7837 MB / 1.352 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002318/1.171, allocations: 57.67 kB / 1.353 GB, free: 3.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.171, allocations: 93.61 kB / 1.353 GB, free: 3.723 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/1.171, allocations: 0 / 1.353 GB, free: 3.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/1.203, allocations: 8.131 MB / 1.361 GB, free: 1.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.544, allocations: 21.25 kB / 1.361 GB, free: 1.348 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