Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.008012/0.008012, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.00196/0.001961, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.72 kB / 0.9504 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2574, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1657/0.4231, allocations: 161.4 MB / 1.245 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005546/0.4287, allocations: 4.552 MB / 1.25 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.4291, allocations: 11.94 kB / 1.25 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.4297, allocations: 119.1 kB / 1.25 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.4306, allocations: 338.4 kB / 1.25 GB, free: 10.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.4314, allocations: 270.7 kB / 1.25 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.4321, allocations: 0.565 MB / 1.251 GB, free: 10.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.4326, allocations: 205.7 kB / 1.251 GB, free: 9.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4336, allocations: 450.3 kB / 1.251 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.434, allocations: 191.3 kB / 1.252 GB, free: 9.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.434, allocations: 16 kB / 1.252 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.4343, allocations: 87.91 kB / 1.252 GB, free: 9.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.4344, allocations: 91.73 kB / 1.252 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4346, allocations: 119.4 kB / 1.252 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.4351, allocations: 295.3 kB / 1.252 GB, free: 8.734 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4351, allocations: 0 / 1.252 GB, free: 8.734 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4351, allocations: 0 / 1.252 GB, free: 8.734 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.4351, allocations: 0 / 1.252 GB, free: 8.734 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001151/0.4363, allocations: 0.5389 MB / 1.253 GB, free: 8.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.4363, allocations: 8.031 kB / 1.253 GB, free: 8.141 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.4364, allocations: 58.55 kB / 1.253 GB, free: 8.074 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.4365, allocations: 27.66 kB / 1.253 GB, free: 8.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.437, allocations: 295.2 kB / 1.253 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.437, allocations: 12 kB / 1.253 GB, free: 7.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.437, allocations: 20 kB / 1.253 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.4375, allocations: 265.6 kB / 1.253 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4375, allocations: 3.938 kB / 1.253 GB, free: 7.387 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.4376, allocations: 8 kB / 1.253 GB, free: 7.379 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4376, allocations: 4 kB / 1.253 GB, free: 7.375 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.4379, allocations: 151.8 kB / 1.253 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.4393, allocations: 1.371 MB / 1.255 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4397, allocations: 183.7 kB / 1.255 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4399, allocations: 97.11 kB / 1.255 GB, free: 5.418 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.4402, allocations: 113 kB / 1.255 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4403, allocations: 50.44 kB / 1.255 GB, free: 5.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4403, allocations: 3.938 kB / 1.255 GB, free: 5.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006309/0.4409, allocations: 201.1 kB / 1.255 GB, free: 5.023 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.441, allocations: 188.5 kB / 1.256 GB, free: 4.797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.4413, allocations: 295 kB / 1.256 GB, free: 4.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.4414, allocations: 25.7 kB / 1.256 GB, free: 4.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4415, allocations: 147.9 kB / 1.256 GB, free: 4.324 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4415, allocations: 35.45 kB / 1.256 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.4416, allocations: 37.7 kB / 1.256 GB, free: 4.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4418, allocations: 330.8 kB / 1.256 GB, free: 3.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4419, allocations: 43.95 kB / 1.257 GB, free: 3.871 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.4421, allocations: 119.6 kB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.4424, allocations: 158.7 kB / 1.257 GB, free: 3.547 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4424, allocations: 0 / 1.257 GB, free: 3.547 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003899/0.4428, allocations: 197.1 kB / 1.257 GB, free: 3.348 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4428, allocations: 4 kB / 1.257 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4429, allocations: 7.984 kB / 1.257 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4429, allocations: 0 / 1.257 GB, free: 3.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.443, allocations: 27.98 kB / 1.257 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.443, allocations: 8.25 kB / 1.257 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4432, allocations: 35.89 kB / 1.257 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4432, allocations: 12 kB / 1.257 GB, free: 3.254 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001282/0.4434, allocations: 146.4 kB / 1.257 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4435, allocations: 31.64 kB / 1.257 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.4438, allocations: 123 kB / 1.257 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4438, allocations: 4 kB / 1.257 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4439, allocations: 4 kB / 1.257 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4439, allocations: 0 / 1.257 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.4447, allocations: 0.7769 MB / 1.258 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4447, allocations: 0 / 1.258 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.4448, allocations: 23.92 kB / 1.258 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.4448, allocations: 4.156 kB / 1.258 GB, free: 2.055 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4448, allocations: 12 kB / 1.258 GB, free: 2.043 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4448, allocations: 0 / 1.258 GB, free: 2.043 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4448, allocations: 0 / 1.258 GB, free: 2.043 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.4454, allocations: 339.3 kB / 1.258 GB, free: 1.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4455, allocations: 108.9 kB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.4455, allocations: 7.938 kB / 1.259 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4457, allocations: 7.984 kB / 1.259 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.4457, allocations: 23.86 kB / 1.259 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4457, allocations: 8.062 kB / 1.259 GB, free: 1.508 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002049/0.446, allocations: 205.9 kB / 1.259 GB, free: 1.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.446, allocations: 4 kB / 1.259 GB, free: 1.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003467/0.4463, allocations: 48 kB / 1.259 GB, free: 1.254 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001114/0.4474, allocations: 0.9244 MB / 1.26 GB, free: 304 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.4478, allocations: 123.9 kB / 1.26 GB, free: 180 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4478, allocations: 0 / 1.26 GB, free: 180 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.448, allocations: 59.89 kB / 1.26 GB, free: 120 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5041/0.9521, allocations: 126.7 kB / 1.26 GB, free: 176.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.9551, allocations: 2.604 MB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.9553, allocations: 0.7557 MB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.9555, allocations: 49.39 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.9556, allocations: 70.41 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.42e-07/0.9556, allocations: 0 / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.9837, allocations: 6.871 MB / 1.27 GB, free: 174 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.77, allocations: 2.812 kB / 1.27 GB, free: 174 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches