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.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 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.001552/0.001552, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.426 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.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6503, allocations: 140.3 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1614/0.8118, allocations: 161.4 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.8173, allocations: 4.556 MB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.8176, allocations: 11.94 kB / 1.112 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.8182, allocations: 119.1 kB / 1.112 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009771/0.8192, allocations: 334.4 kB / 1.112 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.82, allocations: 275 kB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.8207, allocations: 0.5534 MB / 1.113 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.8211, allocations: 213.1 kB / 1.113 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.822, allocations: 450.2 kB / 1.114 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.8223, allocations: 187.2 kB / 1.114 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.8223, allocations: 16 kB / 1.114 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.8225, allocations: 87.92 kB / 1.114 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.8226, allocations: 83.78 kB / 1.114 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.8227, allocations: 115.4 kB / 1.114 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.823, allocations: 291.1 kB / 1.114 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8231, allocations: 0 / 1.114 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8231, allocations: 0 / 1.114 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8231, allocations: 3.938 kB / 1.114 GB, free: 8.648 MB / 0.8731 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.0007654/0.8238, allocations: 0.5333 MB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8239, allocations: 8.031 kB / 1.115 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.824, allocations: 62.53 kB / 1.115 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.824, allocations: 27.66 kB / 1.115 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.8243, allocations: 271.4 kB / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.8244, allocations: 12 kB / 1.115 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.8244, allocations: 20 kB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.8248, allocations: 257.9 kB / 1.116 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8248, allocations: 7.875 kB / 1.116 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.8249, allocations: 11.98 kB / 1.116 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8249, allocations: 7.938 kB / 1.116 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.8252, allocations: 147.8 kB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.8263, allocations: 1.368 MB / 1.117 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.8266, allocations: 187.7 kB / 1.117 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.8268, allocations: 97.05 kB / 1.117 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.8271, allocations: 121 kB / 1.117 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.8272, allocations: 42.5 kB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.8272, allocations: 3.984 kB / 1.117 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0005756/0.8277, allocations: 205.6 kB / 1.118 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.8278, allocations: 183.9 kB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.8281, allocations: 290.9 kB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.8281, allocations: 33.7 kB / 1.118 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8282, allocations: 147.8 kB / 1.118 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.8283, allocations: 35.7 kB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.8283, allocations: 45.48 kB / 1.118 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.8284, allocations: 338.8 kB / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.8286, allocations: 43.97 kB / 1.119 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.8288, allocations: 118.1 kB / 1.119 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.829, allocations: 158.9 kB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8291, allocations: 0 / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003624/0.8294, allocations: 189.1 kB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8294, allocations: 16.2 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8295, allocations: 0 / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.8295, allocations: 4 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.8296, allocations: 27.98 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8296, allocations: 4 kB / 1.119 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.8298, allocations: 23.83 kB / 1.119 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.8298, allocations: 8 kB / 1.119 GB, free: 3.184 MB / 0.8731 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.0001156/0.8299, allocations: 149.7 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.8301, allocations: 35.64 kB / 1.119 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.8304, allocations: 134.9 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8304, allocations: 4 kB / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8304, allocations: 0 / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8304, allocations: 4 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.8312, allocations: 0.7652 MB / 1.12 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8312, allocations: 4 kB / 1.12 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.8313, allocations: 23.92 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8313, allocations: 4 kB / 1.12 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.8313, allocations: 4.125 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.8313, allocations: 8 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8313, allocations: 0 / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.8318, allocations: 351.4 kB / 1.121 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.8319, allocations: 108.8 kB / 1.121 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.832, allocations: 4 kB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.8321, allocations: 7.984 kB / 1.121 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.8322, allocations: 19.86 kB / 1.121 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.8322, allocations: 4 kB / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001782/0.8323, allocations: 209.9 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8324, allocations: 3.938 kB / 1.121 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003233/0.8327, allocations: 60 kB / 1.121 GB, free: 1.16 MB / 0.8731 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.000866/0.8336, allocations: 0.89 MB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.8339, allocations: 128.1 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8339, allocations: 4 kB / 1.122 GB, free: 108 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.8341, allocations: 63.83 kB / 1.122 GB, free: 44 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.8348, allocations: 140.1 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.8376, allocations: 2.597 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.8379, allocations: 0.7597 MB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.8381, allocations: 58.25 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.8382, allocations: 67.41 kB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of SimCode: time 3.9e-07/0.8382, allocations: 0 / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.8639, allocations: 6.79 MB / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.448, allocations: 21.38 kB / 1.132 GB, free: 5.59 MB / 0.8887 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