Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_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.005215/0.005215, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.001259/0.001259, allocations: 206.6 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.589/2.589, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2596, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8537/1.113, allocations: 161.4 MB / 1.324 GB, free: 7.637 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007552/1.121, allocations: 4.54 MB / 1.328 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/1.121, allocations: 14.06 kB / 1.328 GB, free: 4.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/1.122, allocations: 129.5 kB / 1.328 GB, free: 4.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/1.123, allocations: 345.4 kB / 1.329 GB, free: 4.281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/1.124, allocations: 270.2 kB / 1.329 GB, free: 4.152 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001263/1.126, allocations: 0.5594 MB / 1.329 GB, free: 3.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/1.126, allocations: 208.7 kB / 1.33 GB, free: 3.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/1.128, allocations: 465 kB / 1.33 GB, free: 3.613 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/1.128, allocations: 191.3 kB / 1.33 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/1.128, allocations: 16.56 kB / 1.33 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/1.129, allocations: 84.91 kB / 1.33 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.129, allocations: 93.88 kB / 1.33 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/1.129, allocations: 118.8 kB / 1.331 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/1.13, allocations: 293.8 kB / 1.331 GB, free: 3.301 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.13, allocations: 4.594 kB / 1.331 GB, free: 3.297 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.13, allocations: 0 / 1.331 GB, free: 3.297 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.351e-05/1.13, allocations: 1.406 kB / 1.331 GB, free: 3.297 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.001057/1.131, allocations: 0.5504 MB / 1.331 GB, free: 2.809 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.131, allocations: 10.3 kB / 1.331 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/1.131, allocations: 52.98 kB / 1.331 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/1.131, allocations: 32.91 kB / 1.332 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/1.132, allocations: 285.8 kB / 1.332 GB, free: 2.492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.132, allocations: 12.58 kB / 1.332 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/1.132, allocations: 21.28 kB / 1.332 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/1.132, allocations: 264.5 kB / 1.332 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.132, allocations: 0 / 1.332 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.132, allocations: 10.5 kB / 1.332 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.132, allocations: 4.844 kB / 1.332 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/1.133, allocations: 148.3 kB / 1.332 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/1.134, allocations: 1.378 MB / 1.334 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/1.135, allocations: 178.9 kB / 1.334 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/1.135, allocations: 94.48 kB / 1.334 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/1.135, allocations: 124 kB / 1.334 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.135, allocations: 43.45 kB / 1.334 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.135, allocations: 0 / 1.334 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.000653/1.136, allocations: 206.6 kB / 1.334 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/1.136, allocations: 186.3 kB / 1.334 GB, free: 344 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/1.136, allocations: 290.6 kB / 1.335 GB, free: 188 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.136, allocations: 26.77 kB / 1.335 GB, free: 156 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.136, allocations: 155.6 kB / 1.335 GB, free: 16 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/1.137, allocations: 39 kB / 1.335 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/1.137, allocations: 34.92 kB / 1.335 GB, free: 15.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.137, allocations: 336.4 kB / 1.335 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.137, allocations: 51.81 kB / 1.335 GB, free: 15.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/1.137, allocations: 114.7 kB / 1.335 GB, free: 15.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/1.137, allocations: 162.1 kB / 1.336 GB, free: 15.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.137, allocations: 1.375 kB / 1.336 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003845/1.138, allocations: 193 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.138, allocations: 12.97 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.138, allocations: 1.469 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.138, allocations: 2.5 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/1.138, allocations: 33.61 kB / 1.336 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.138, allocations: 6.719 kB / 1.336 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/1.138, allocations: 31.95 kB / 1.336 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.138, allocations: 6.375 kB / 1.336 GB, free: 15.31 MB / 1.029 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.0001421/1.138, allocations: 143.7 kB / 1.336 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/1.139, allocations: 34.69 kB / 1.336 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/1.139, allocations: 130.2 kB / 1.336 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.139, allocations: 2.75 kB / 1.336 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.139, allocations: 2.438 kB / 1.336 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.139, allocations: 1.25 kB / 1.336 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/1.14, allocations: 0.771 MB / 1.337 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.14, allocations: 1.406 kB / 1.337 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/1.14, allocations: 25.55 kB / 1.337 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.14, allocations: 2.5 kB / 1.337 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.14, allocations: 2.656 kB / 1.337 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.14, allocations: 6.656 kB / 1.337 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.14, allocations: 2.219 kB / 1.337 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/1.141, allocations: 340.9 kB / 1.337 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.141, allocations: 112.3 kB / 1.337 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.141, allocations: 7.844 kB / 1.337 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.141, allocations: 7.359 kB / 1.337 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.141, allocations: 15.67 kB / 1.337 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.141, allocations: 7.719 kB / 1.337 GB, free: 14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002164/1.141, allocations: 214.6 kB / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.141, allocations: 0 / 1.338 GB, free: 13.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003843/1.142, allocations: 50.22 kB / 1.338 GB, free: 13.88 MB / 1.029 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.001025/1.143, allocations: 0.9104 MB / 1.338 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003656/1.143, allocations: 132.2 kB / 1.339 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.143, allocations: 1 kB / 1.339 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/1.143, allocations: 59.3 kB / 1.339 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/1.144, allocations: 144.8 kB / 1.339 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/1.147, allocations: 2.605 MB / 1.341 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.147, allocations: 0.7599 MB / 1.342 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001654/1.148, allocations: 55.41 kB / 1.342 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/1.148, allocations: 65.39 kB / 1.342 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/1.148, allocations: 0 / 1.342 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/1.175, allocations: 6.868 MB / 1.349 GB, free: 9.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/9.215, allocations: 12.8 kB / 1.349 GB, free: 9.617 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches