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.008844/0.008844, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.002256/0.002256, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 63.97 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2737, 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.1709/0.4446, allocations: 167.5 MB / 1.251 GB, free: 9.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007737/0.4524, allocations: 6.534 MB / 1.257 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.4529, allocations: 15.94 kB / 1.258 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.4534, allocations: 162.8 kB / 1.258 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.4555, allocations: 0.8791 MB / 1.259 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.4565, allocations: 325.3 kB / 1.259 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.4573, allocations: 0.7213 MB / 1.26 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.4577, allocations: 275.2 kB / 1.26 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.4588, allocations: 0.5682 MB / 1.26 GB, free: 328 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.4592, allocations: 270.9 kB / 1.261 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.4592, allocations: 20 kB / 1.261 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5857/1.045, allocations: 345.3 kB / 1.261 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/1.045, allocations: 107.9 kB / 1.261 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/1.045, allocations: 164.8 kB / 1.261 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007724/1.046, allocations: 472.9 kB / 1.262 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.046, allocations: 0 / 1.262 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.046, allocations: 0 / 1.262 GB, free: 4.504 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.046, allocations: 0.8125 kB / 1.262 GB, free: 4.504 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.0007845/1.047, allocations: 0.6274 MB / 1.262 GB, free: 4.031 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.047, allocations: 9.594 kB / 1.262 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/1.047, allocations: 62.86 kB / 1.262 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/1.047, allocations: 65.19 kB / 1.262 GB, free: 3.973 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/1.048, allocations: 323.3 kB / 1.263 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.048, allocations: 21.59 kB / 1.263 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/1.048, allocations: 27.78 kB / 1.263 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/1.049, allocations: 320.4 kB / 1.263 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.049, allocations: 3.609 kB / 1.263 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/1.049, allocations: 9.219 kB / 1.263 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.049, allocations: 6.531 kB / 1.263 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/1.049, allocations: 201.9 kB / 1.263 GB, free: 3.652 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.001559/1.051, allocations: 1.537 MB / 1.265 GB, free: 18.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/1.051, allocations: 119.7 kB / 1.265 GB, free: 18.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/1.051, allocations: 94.27 kB / 1.265 GB, free: 18.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/1.052, allocations: 304.4 kB / 1.265 GB, free: 18.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.052, allocations: 32.98 kB / 1.265 GB, free: 18.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/1.052, allocations: 0.8125 kB / 1.265 GB, free: 18.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007919/1.053, allocations: 279.5 kB / 1.266 GB, free: 18.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.053, allocations: 56.25 kB / 1.266 GB, free: 18.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/1.053, allocations: 310.4 kB / 1.266 GB, free: 17.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/1.053, allocations: 26.67 kB / 1.266 GB, free: 17.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.053, allocations: 181.9 kB / 1.266 GB, free: 17.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/1.053, allocations: 49.5 kB / 1.266 GB, free: 17.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/1.053, allocations: 38.59 kB / 1.266 GB, free: 17.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.053, allocations: 338 kB / 1.267 GB, free: 17.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/1.054, allocations: 59.25 kB / 1.267 GB, free: 17.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/1.054, allocations: 115.9 kB / 1.267 GB, free: 17.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/1.054, allocations: 175.2 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.054, allocations: 1.062 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004458/1.055, allocations: 220.2 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.055, allocations: 9.969 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.055, allocations: 3.156 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.055, allocations: 1.656 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.055, allocations: 36.67 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.055, allocations: 2.625 kB / 1.267 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/1.055, allocations: 33.73 kB / 1.267 GB, free: 17.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/1.055, allocations: 7.516 kB / 1.267 GB, free: 17.29 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.0001439/1.055, allocations: 153.2 kB / 1.267 GB, free: 17.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/1.055, allocations: 36.41 kB / 1.267 GB, free: 17.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/1.056, allocations: 206.2 kB / 1.268 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.056, allocations: 5.938 kB / 1.268 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.056, allocations: 1.062 kB / 1.268 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.056, allocations: 2.406 kB / 1.268 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.057, allocations: 0.6879 MB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.057, allocations: 2.156 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/1.057, allocations: 26.48 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.057, allocations: 3.531 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.057, allocations: 8.219 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.057, allocations: 9.047 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.057, allocations: 2.875 kB / 1.268 GB, free: 16.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/1.057, allocations: 337.7 kB / 1.269 GB, free: 16.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/1.058, allocations: 115.4 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/1.058, allocations: 8.234 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/1.058, allocations: 9.5 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.058, allocations: 18.02 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/1.058, allocations: 5.375 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002994/1.058, allocations: 230.9 kB / 1.269 GB, free: 16.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 1.269 GB, free: 16.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004725/1.059, allocations: 79.44 kB / 1.269 GB, free: 16.35 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.001243/1.06, allocations: 0.9171 MB / 1.27 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004591/1.06, allocations: 162.8 kB / 1.27 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.06, allocations: 1.812 kB / 1.27 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/1.061, allocations: 82.47 kB / 1.27 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/1.062, allocations: 154 kB / 1.27 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/1.066, allocations: 2.809 MB / 1.273 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/1.066, allocations: 0.7788 MB / 1.274 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002689/1.066, allocations: 64.09 kB / 1.274 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/1.067, allocations: 94.28 kB / 1.274 GB, free: 13.39 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.067, allocations: 0 / 1.274 GB, free: 13.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/1.096, allocations: 8.135 MB / 1.282 GB, free: 12.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/9.128, allocations: 5.031 kB / 1.282 GB, free: 12.8 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