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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 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.001683/0.001683, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.708/2.708, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.605, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1596/0.7647, allocations: 161.4 MB / 1.175 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.7701, allocations: 4.551 MB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.7705, allocations: 11.94 kB / 1.179 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.771, allocations: 127 kB / 1.18 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009194/0.772, allocations: 330.4 kB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.7728, allocations: 271.4 kB / 1.18 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.7735, allocations: 0.565 MB / 1.181 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.7738, allocations: 201.1 kB / 1.181 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009561/0.7748, allocations: 454.3 kB / 1.181 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.7751, allocations: 195.2 kB / 1.182 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.7752, allocations: 16 kB / 1.182 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.7754, allocations: 79.92 kB / 1.182 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.7755, allocations: 87.66 kB / 1.182 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.7756, allocations: 115.4 kB / 1.182 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.776, allocations: 291.1 kB / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.776, allocations: 0 / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.776, allocations: 0 / 1.182 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.776, allocations: 0 / 1.182 GB, free: 9.223 MB / 0.9356 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.0007995/0.7768, allocations: 0.5388 MB / 1.183 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.7769, allocations: 8.031 kB / 1.183 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.7769, allocations: 54.55 kB / 1.183 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.777, allocations: 27.66 kB / 1.183 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.7773, allocations: 275.3 kB / 1.183 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.7774, allocations: 16 kB / 1.183 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.7774, allocations: 16 kB / 1.183 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.7778, allocations: 265.7 kB / 1.183 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7778, allocations: 3.938 kB / 1.183 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.7779, allocations: 12 kB / 1.183 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7779, allocations: 7.984 kB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.7782, allocations: 147.7 kB / 1.183 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.7795, allocations: 1.375 MB / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.7798, allocations: 195.6 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.78, allocations: 89.11 kB / 1.185 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.7804, allocations: 125 kB / 1.185 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.7804, allocations: 46.44 kB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.7804, allocations: 0 / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006262/0.781, allocations: 205.1 kB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.7811, allocations: 184.5 kB / 1.186 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.7814, allocations: 291 kB / 1.186 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.7814, allocations: 29.7 kB / 1.186 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7815, allocations: 147.8 kB / 1.186 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.7816, allocations: 35.55 kB / 1.186 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.7816, allocations: 41.55 kB / 1.186 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7817, allocations: 334.8 kB / 1.186 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.7819, allocations: 43.97 kB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.7821, allocations: 120.8 kB / 1.187 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.7824, allocations: 154.7 kB / 1.187 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7824, allocations: 0 / 1.187 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003813/0.7828, allocations: 193.1 kB / 1.187 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7828, allocations: 9.391 kB / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7828, allocations: 0 / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7828, allocations: 4 kB / 1.187 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.783, allocations: 35.92 kB / 1.187 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.783, allocations: 4 kB / 1.187 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.7832, allocations: 24.05 kB / 1.187 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.7832, allocations: 12.31 kB / 1.187 GB, free: 3.758 MB / 0.9356 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.0001221/0.7833, allocations: 141.8 kB / 1.187 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7835, allocations: 31.64 kB / 1.187 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.7838, allocations: 135 kB / 1.187 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7838, allocations: 4 kB / 1.187 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7838, allocations: 0 / 1.187 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.7838, allocations: 8 kB / 1.187 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.7846, allocations: 0.7729 MB / 1.188 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7846, allocations: 4 kB / 1.188 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.7848, allocations: 20.14 kB / 1.188 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7848, allocations: 11.94 kB / 1.188 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7848, allocations: 0 / 1.188 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7848, allocations: 4 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7848, allocations: 0 / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.7853, allocations: 351.2 kB / 1.188 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.7854, allocations: 104.8 kB / 1.188 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.7855, allocations: 4 kB / 1.188 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.7856, allocations: 11.98 kB / 1.188 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.7857, allocations: 15.98 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.7857, allocations: 4 kB / 1.189 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001852/0.7859, allocations: 209.9 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7859, allocations: 0 / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003448/0.7862, allocations: 59.94 kB / 1.189 GB, free: 1.746 MB / 0.9356 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.0009511/0.7872, allocations: 0.9079 MB / 1.19 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.7875, allocations: 127.9 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7876, allocations: 0 / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.7877, allocations: 64.77 kB / 1.19 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.7885, allocations: 128.6 kB / 1.19 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.7916, allocations: 2.601 MB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.792, allocations: 0.7597 MB / 1.193 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.7922, allocations: 50.19 kB / 1.193 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.7923, allocations: 67.41 kB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7923, allocations: 0 / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.8205, allocations: 6.804 MB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.496, allocations: 15.86 kB / 1.2 GB, free: 6.16 MB / 0.9512 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