Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_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.005166/0.005166, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001317/0.001317, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7068, allocations: 159.1 MB / 1.22 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1819/0.8887, allocations: 161.4 MB / 1.378 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005531/0.8943, allocations: 4.545 MB / 1.382 GB, free: 11.42 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.8946, allocations: 11.94 kB / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.895, allocations: 123 kB / 1.382 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.8958, allocations: 342.4 kB / 1.383 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.8966, allocations: 269.4 kB / 1.383 GB, free: 10.69 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007/0.8973, allocations: 0.5534 MB / 1.383 GB, free: 10.13 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003717/0.8977, allocations: 213.1 kB / 1.384 GB, free: 9.922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009766/0.8987, allocations: 446.3 kB / 1.384 GB, free: 9.484 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.899, allocations: 195.2 kB / 1.384 GB, free: 9.293 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.899, allocations: 16 kB / 1.384 GB, free: 9.277 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.8992, allocations: 87.86 kB / 1.384 GB, free: 9.191 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.8994, allocations: 91.72 kB / 1.384 GB, free: 9.102 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.8995, allocations: 115.4 kB / 1.385 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.9, allocations: 294.8 kB / 1.385 GB, free: 8.703 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9, allocations: 0 / 1.385 GB, free: 8.703 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9, allocations: 0 / 1.385 GB, free: 8.703 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.9, allocations: 0 / 1.385 GB, free: 8.703 MB / 1.107 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.0008929/0.9009, allocations: 0.5447 MB / 1.385 GB, free: 8.109 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9009, allocations: 8.031 kB / 1.385 GB, free: 8.102 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.901, allocations: 54.55 kB / 1.385 GB, free: 8.039 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.9011, allocations: 31.75 kB / 1.385 GB, free: 8.008 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.9015, allocations: 291.5 kB / 1.386 GB, free: 7.684 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.9015, allocations: 12 kB / 1.386 GB, free: 7.672 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.9016, allocations: 27.92 kB / 1.386 GB, free: 7.645 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.9021, allocations: 257.9 kB / 1.386 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.9021, allocations: 7.875 kB / 1.386 GB, free: 7.348 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.9021, allocations: 8 kB / 1.386 GB, free: 7.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.9021, allocations: 4 kB / 1.386 GB, free: 7.336 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.9025, allocations: 147.8 kB / 1.386 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.9039, allocations: 1.376 MB / 1.388 GB, free: 5.727 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.9042, allocations: 187.7 kB / 1.388 GB, free: 5.488 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.9044, allocations: 97.05 kB / 1.388 GB, free: 5.375 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.9048, allocations: 117 kB / 1.388 GB, free: 5.242 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.9048, allocations: 38.5 kB / 1.388 GB, free: 5.195 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.9048, allocations: 0 / 1.388 GB, free: 5.195 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006388/0.9055, allocations: 213.2 kB / 1.388 GB, free: 4.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.9056, allocations: 183.9 kB / 1.388 GB, free: 4.758 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.9059, allocations: 287.6 kB / 1.389 GB, free: 4.473 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.9059, allocations: 29.7 kB / 1.389 GB, free: 4.438 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.9061, allocations: 155.9 kB / 1.389 GB, free: 4.281 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.9061, allocations: 35.64 kB / 1.389 GB, free: 4.246 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9062, allocations: 37.64 kB / 1.389 GB, free: 4.203 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9063, allocations: 338.8 kB / 1.389 GB, free: 3.863 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.9065, allocations: 43.95 kB / 1.389 GB, free: 3.82 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.9067, allocations: 118.3 kB / 1.389 GB, free: 3.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.907, allocations: 158.7 kB / 1.389 GB, free: 3.5 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.907, allocations: 0 / 1.389 GB, free: 3.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004082/0.9074, allocations: 201.3 kB / 1.39 GB, free: 3.297 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9075, allocations: 7.938 kB / 1.39 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.9075, allocations: 4 kB / 1.39 GB, free: 3.285 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9075, allocations: 3.938 kB / 1.39 GB, free: 3.281 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.9077, allocations: 31.97 kB / 1.39 GB, free: 3.25 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9077, allocations: 4 kB / 1.39 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.9078, allocations: 23.88 kB / 1.39 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.9079, allocations: 8 kB / 1.39 GB, free: 3.215 MB / 1.107 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.0001496/0.908, allocations: 152.9 kB / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9082, allocations: 39.75 kB / 1.39 GB, free: 3.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.9085, allocations: 119 kB / 1.39 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.9085, allocations: 7.984 kB / 1.39 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9085, allocations: 0 / 1.39 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9085, allocations: 4 kB / 1.39 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.9094, allocations: 0.773 MB / 1.391 GB, free: 2.035 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9094, allocations: 0 / 1.391 GB, free: 2.035 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.9096, allocations: 23.92 kB / 1.391 GB, free: 2.012 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.9096, allocations: 8.109 kB / 1.391 GB, free: 2.004 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.9096, allocations: 7.938 kB / 1.391 GB, free: 1.996 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.9096, allocations: 4.156 kB / 1.391 GB, free: 1.992 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9096, allocations: 4 kB / 1.391 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.9102, allocations: 343.5 kB / 1.391 GB, free: 1.621 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9103, allocations: 108.9 kB / 1.391 GB, free: 1.496 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.9104, allocations: 8 kB / 1.391 GB, free: 1.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.9105, allocations: 7.984 kB / 1.391 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.9106, allocations: 11.94 kB / 1.391 GB, free: 1.469 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9106, allocations: 4 kB / 1.391 GB, free: 1.465 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002193/0.9108, allocations: 221.9 kB / 1.392 GB, free: 1.246 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9108, allocations: 0 / 1.392 GB, free: 1.246 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003388/0.9111, allocations: 51.94 kB / 1.392 GB, free: 1.195 MB / 1.107 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.001085/0.9122, allocations: 0.9121 MB / 1.392 GB, free: 256 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003645/0.9126, allocations: 124 kB / 1.393 GB, free: 132 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.9126, allocations: 4 kB / 1.393 GB, free: 128 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.9128, allocations: 63.78 kB / 1.393 GB, free: 64 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.9136, allocations: 134.5 kB / 1.393 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.9169, allocations: 2.611 MB / 1.395 GB, free: 13.17 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.9173, allocations: 0.7595 MB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.9175, allocations: 54.25 kB / 1.396 GB, free: 12.33 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9176, allocations: 67.42 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of SimCode: time 3.186e-06/0.9176, allocations: 0 / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.9486, allocations: 6.853 MB / 1.403 GB, free: 5.57 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.856, allocations: 10.47 kB / 1.403 GB, free: 5.562 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches