Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_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.008292/0.008292, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.002338/0.002338, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.27 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2806, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1872/0.4679, allocations: 167.5 MB / 1.251 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008477/0.4764, allocations: 6.519 MB / 1.257 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.4769, allocations: 19.81 kB / 1.257 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.4777, allocations: 174.7 kB / 1.258 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.48, allocations: 0.8401 MB / 1.258 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.481, allocations: 330.7 kB / 1.259 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.4821, allocations: 0.7135 MB / 1.259 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.4826, allocations: 287.4 kB / 1.26 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.4839, allocations: 0.5487 MB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.4844, allocations: 266.9 kB / 1.261 GB, free: 120 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.4845, allocations: 24 kB / 1.261 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6238/1.108, allocations: 331.8 kB / 1.261 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/1.108, allocations: 110.7 kB / 1.261 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/1.109, allocations: 160.5 kB / 1.261 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007995/1.11, allocations: 469.1 kB / 1.262 GB, free: 4.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.11, allocations: 0.9375 kB / 1.262 GB, free: 4.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.11, allocations: 2.688 kB / 1.262 GB, free: 4.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.443e-05/1.11, allocations: 1.094 kB / 1.262 GB, free: 4.477 MB / 1.014 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.0008046/1.11, allocations: 0.6185 MB / 1.262 GB, free: 4.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.11, allocations: 9 kB / 1.262 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/1.111, allocations: 66.34 kB / 1.262 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/1.111, allocations: 61.5 kB / 1.262 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/1.111, allocations: 321.5 kB / 1.263 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.111, allocations: 22.84 kB / 1.263 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/1.111, allocations: 26.38 kB / 1.263 GB, free: 3.773 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/1.112, allocations: 313.4 kB / 1.263 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.112, allocations: 4.422 kB / 1.263 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/1.112, allocations: 12.78 kB / 1.263 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.112, allocations: 7.156 kB / 1.263 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/1.113, allocations: 203.1 kB / 1.263 GB, free: 3.68 MB / 1.014 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.001623/1.114, allocations: 1.531 MB / 1.265 GB, free: 18.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/1.114, allocations: 119.6 kB / 1.265 GB, free: 18.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.115, allocations: 88.62 kB / 1.265 GB, free: 18.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/1.115, allocations: 303.1 kB / 1.265 GB, free: 18.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.115, allocations: 35.95 kB / 1.265 GB, free: 18.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/1.115, allocations: 0.875 kB / 1.265 GB, free: 18.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000797/1.116, allocations: 279.1 kB / 1.265 GB, free: 18.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.116, allocations: 54.41 kB / 1.266 GB, free: 18.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/1.116, allocations: 309 kB / 1.266 GB, free: 17.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/1.117, allocations: 32.11 kB / 1.266 GB, free: 17.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.117, allocations: 186.5 kB / 1.266 GB, free: 17.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/1.117, allocations: 49.31 kB / 1.266 GB, free: 17.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/1.117, allocations: 35.48 kB / 1.266 GB, free: 17.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.117, allocations: 339.7 kB / 1.266 GB, free: 17.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.117, allocations: 63.08 kB / 1.267 GB, free: 17.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.117, allocations: 110.8 kB / 1.267 GB, free: 17.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/1.118, allocations: 176 kB / 1.267 GB, free: 17.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.118, allocations: 1.781 kB / 1.267 GB, free: 17.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005781/1.118, allocations: 219.9 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.118, allocations: 14.69 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.118, allocations: 5.625 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.118, allocations: 2.906 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/1.119, allocations: 32.08 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.119, allocations: 2.828 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.119, allocations: 32 kB / 1.267 GB, free: 17.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/1.119, allocations: 8.656 kB / 1.267 GB, free: 17.33 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.0001845/1.119, allocations: 146 kB / 1.267 GB, free: 17.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/1.119, allocations: 34.73 kB / 1.267 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/1.12, allocations: 210.8 kB / 1.267 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.12, allocations: 2.469 kB / 1.267 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.12, allocations: 1.031 kB / 1.267 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.12, allocations: 1.234 kB / 1.267 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.121, allocations: 0.6864 MB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.121, allocations: 2 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.121, allocations: 29.11 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.121, allocations: 3.812 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.121, allocations: 4.062 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.121, allocations: 5.891 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.121, allocations: 3 kB / 1.268 GB, free: 16.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/1.122, allocations: 335.2 kB / 1.269 GB, free: 16.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.122, allocations: 121.2 kB / 1.269 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/1.122, allocations: 12.5 kB / 1.269 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.122, allocations: 9.438 kB / 1.269 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/1.122, allocations: 17.72 kB / 1.269 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.122, allocations: 10.75 kB / 1.269 GB, free: 16.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000273/1.123, allocations: 224.1 kB / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.123, allocations: 0 / 1.269 GB, free: 16.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004361/1.123, allocations: 78.25 kB / 1.269 GB, free: 16.39 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.00125/1.124, allocations: 0.9115 MB / 1.27 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005233/1.125, allocations: 164.5 kB / 1.27 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.125, allocations: 0.8438 kB / 1.27 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/1.125, allocations: 83.31 kB / 1.27 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/1.126, allocations: 150.5 kB / 1.27 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/1.13, allocations: 2.812 MB / 1.273 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/1.13, allocations: 0.7796 MB / 1.274 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002276/1.13, allocations: 60.62 kB / 1.274 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.131, allocations: 92.66 kB / 1.274 GB, free: 13.43 MB / 1.029 GB Notification: Performance of SimCode: time 1.382e-06/1.131, allocations: 0 / 1.274 GB, free: 13.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/1.165, allocations: 8.133 MB / 1.282 GB, free: 12.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/9.205, allocations: 6.281 kB / 1.282 GB, free: 12.85 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches