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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7714 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.3 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2106/0.544, allocations: 164.9 MB / 1.445 GB, free: 6.27 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006567/0.5506, allocations: 4.61 MB / 1.45 GB, free: 1.645 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.551, allocations: 15.88 kB / 1.45 GB, free: 1.629 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.5514, allocations: 131 kB / 1.45 GB, free: 1.5 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000967/0.5524, allocations: 350.4 kB / 1.45 GB, free: 1.156 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.5533, allocations: 298.5 kB / 1.45 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.5541, allocations: 0.5729 MB / 1.451 GB, free: 296 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.5544, allocations: 157.4 kB / 1.451 GB, free: 140 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.5555, allocations: 486.2 kB / 1.452 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.5558, allocations: 203.2 kB / 1.452 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.5558, allocations: 16 kB / 1.452 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.556, allocations: 83.86 kB / 1.452 GB, free: 15.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5561, allocations: 95.72 kB / 1.452 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.5563, allocations: 119.4 kB / 1.452 GB, free: 15.15 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.5567, allocations: 295 kB / 1.452 GB, free: 14.87 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5567, allocations: 7.938 kB / 1.452 GB, free: 14.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5567, allocations: 0 / 1.452 GB, free: 14.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.5567, allocations: 0 / 1.452 GB, free: 14.86 MB / 1.154 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.0008855/0.5576, allocations: 478.5 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5576, allocations: 12.03 kB / 1.453 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.881e-05/0.5577, allocations: 4 kB / 1.453 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.5577, allocations: 54.48 kB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.5578, allocations: 31.86 kB / 1.453 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.5583, allocations: 221.7 kB / 1.453 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.5583, allocations: 12 kB / 1.453 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.5583, allocations: 23.95 kB / 1.453 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.5588, allocations: 265.8 kB / 1.453 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5588, allocations: 0 / 1.453 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.5589, allocations: 8 kB / 1.453 GB, free: 13.67 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5589, allocations: 8 kB / 1.453 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.5592, allocations: 147.8 kB / 1.454 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.5608, allocations: 1.335 MB / 1.455 GB, free: 12.1 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.5611, allocations: 175.7 kB / 1.455 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.5613, allocations: 93.11 kB / 1.455 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.5616, allocations: 47.88 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5616, allocations: 38.5 kB / 1.455 GB, free: 11.67 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.5616, allocations: 0 / 1.455 GB, free: 11.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006894/0.5623, allocations: 210 kB / 1.455 GB, free: 11.46 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5625, allocations: 187.9 kB / 1.456 GB, free: 11.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.5628, allocations: 288.2 kB / 1.456 GB, free: 10.95 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.5628, allocations: 29.7 kB / 1.456 GB, free: 10.91 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.5629, allocations: 148 kB / 1.456 GB, free: 10.76 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.563, allocations: 39.75 kB / 1.456 GB, free: 10.72 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.5631, allocations: 37.66 kB / 1.456 GB, free: 10.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5632, allocations: 346.8 kB / 1.456 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5634, allocations: 40.03 kB / 1.457 GB, free: 10.29 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5636, allocations: 115.7 kB / 1.457 GB, free: 10.15 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.5639, allocations: 162.7 kB / 1.457 GB, free: 9.969 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5639, allocations: 0 / 1.457 GB, free: 9.969 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004019/0.5643, allocations: 193.2 kB / 1.457 GB, free: 9.773 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5643, allocations: 8 kB / 1.457 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5643, allocations: 0 / 1.457 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5644, allocations: 8.219 kB / 1.457 GB, free: 9.758 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5645, allocations: 27.98 kB / 1.457 GB, free: 9.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5645, allocations: 7.938 kB / 1.457 GB, free: 9.723 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5647, allocations: 31.77 kB / 1.457 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5647, allocations: 8.047 kB / 1.457 GB, free: 9.684 MB / 1.154 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.0001434/0.5649, allocations: 141.8 kB / 1.457 GB, free: 9.535 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.565, allocations: 35.78 kB / 1.457 GB, free: 9.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.5654, allocations: 131 kB / 1.457 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5654, allocations: 4 kB / 1.457 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5654, allocations: 0 / 1.457 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5654, allocations: 4 kB / 1.457 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009908/0.5664, allocations: 0.7409 MB / 1.458 GB, free: 8.547 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5664, allocations: 4.125 kB / 1.458 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5665, allocations: 27.92 kB / 1.458 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5665, allocations: 4 kB / 1.458 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5665, allocations: 0 / 1.458 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5665, allocations: 4 kB / 1.458 GB, free: 8.508 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5665, allocations: 0 / 1.458 GB, free: 8.508 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.5671, allocations: 351.5 kB / 1.458 GB, free: 8.133 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.5672, allocations: 35.84 kB / 1.458 GB, free: 8.098 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.5672, allocations: 8.062 kB / 1.459 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.5673, allocations: 7.984 kB / 1.459 GB, free: 8.082 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.5674, allocations: 19.86 kB / 1.459 GB, free: 8.062 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5674, allocations: 4 kB / 1.459 GB, free: 8.059 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002212/0.5676, allocations: 211.1 kB / 1.459 GB, free: 7.852 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5676, allocations: 0 / 1.459 GB, free: 7.852 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003638/0.568, allocations: 59.88 kB / 1.459 GB, free: 7.793 MB / 1.154 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.000964/0.5689, allocations: 0.8964 MB / 1.46 GB, free: 6.855 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.5693, allocations: 119.8 kB / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5693, allocations: 0 / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.5695, allocations: 60.7 kB / 1.46 GB, free: 6.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.5703, allocations: 136.1 kB / 1.46 GB, free: 6.555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.5738, allocations: 2.61 MB / 1.463 GB, free: 3.789 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.5742, allocations: 0.7519 MB / 1.463 GB, free: 3.012 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.5744, allocations: 58.25 kB / 1.463 GB, free: 2.957 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.5745, allocations: 67.41 kB / 1.463 GB, free: 2.891 MB / 1.154 GB Notification: Performance of SimCode: time 9.51e-07/0.5745, allocations: 0 / 1.463 GB, free: 2.891 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.6062, allocations: 7.065 MB / 1.47 GB, free: 12.04 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.32, allocations: 9.25 kB / 1.47 GB, free: 12.04 MB / 1.17 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.14298677397892]