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.001893/0.001893, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002072/0.002072, allocations: 217.6 kB / 22.25 MB, free: 5.125 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.977 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.933/2.933, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] 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="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"}) [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.002091/0.002091, allocations: 65.92 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2035/0.527, allocations: 164.9 MB / 1.444 GB, free: 6.18 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.5341, allocations: 4.615 MB / 1.449 GB, free: 1.555 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.5346, allocations: 19.81 kB / 1.449 GB, free: 1.535 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.5352, allocations: 123.1 kB / 1.449 GB, free: 1.414 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.5363, allocations: 354.4 kB / 1.449 GB, free: 1.066 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009727/0.5372, allocations: 295 kB / 1.45 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.5381, allocations: 0.569 MB / 1.45 GB, free: 212 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.5384, allocations: 159.5 kB / 1.45 GB, free: 56 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5396, allocations: 490.2 kB / 1.451 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.54, allocations: 199.2 kB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.54, allocations: 16 kB / 1.451 GB, free: 15.36 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.5402, allocations: 91.91 kB / 1.451 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.5403, allocations: 87.72 kB / 1.451 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.5405, allocations: 115.4 kB / 1.451 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.541, allocations: 306.8 kB / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.541, allocations: 0 / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.873e-06/0.541, allocations: 7.938 kB / 1.452 GB, free: 14.77 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.541, allocations: 0 / 1.452 GB, free: 14.77 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.0009079/0.5419, allocations: 472.8 kB / 1.452 GB, free: 14.28 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5419, allocations: 12.03 kB / 1.452 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.542, allocations: 50.55 kB / 1.452 GB, free: 14.21 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.5421, allocations: 31.8 kB / 1.452 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.5426, allocations: 229.6 kB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.5426, allocations: 12 kB / 1.452 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.5426, allocations: 20 kB / 1.452 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.5431, allocations: 261.9 kB / 1.453 GB, free: 13.6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5431, allocations: 7.938 kB / 1.453 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5432, allocations: 4 kB / 1.453 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.5432, allocations: 4 kB / 1.453 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.5435, allocations: 155.8 kB / 1.453 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.545, allocations: 1.328 MB / 1.454 GB, free: 12.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.5454, allocations: 179.7 kB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.5455, allocations: 93.11 kB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/0.5459, allocations: 35.95 kB / 1.454 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.5459, allocations: 50.42 kB / 1.454 GB, free: 11.59 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.5459, allocations: 0 / 1.454 GB, free: 11.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006191/0.5465, allocations: 209.8 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5466, allocations: 187.9 kB / 1.455 GB, free: 11.15 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.5469, allocations: 288.2 kB / 1.455 GB, free: 10.86 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.547, allocations: 29.7 kB / 1.455 GB, free: 10.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.5471, allocations: 151.9 kB / 1.455 GB, free: 10.68 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.5471, allocations: 39.62 kB / 1.455 GB, free: 10.64 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.5472, allocations: 29.72 kB / 1.455 GB, free: 10.6 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5474, allocations: 338.8 kB / 1.456 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5475, allocations: 47.95 kB / 1.456 GB, free: 10.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5477, allocations: 115.6 kB / 1.456 GB, free: 10.07 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.548, allocations: 159 kB / 1.456 GB, free: 9.895 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.548, allocations: 0 / 1.456 GB, free: 9.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003857/0.5484, allocations: 197.2 kB / 1.456 GB, free: 9.695 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5484, allocations: 4 kB / 1.456 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5484, allocations: 0 / 1.456 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5484, allocations: 4 kB / 1.456 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5486, allocations: 35.91 kB / 1.456 GB, free: 9.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5486, allocations: 8.203 kB / 1.456 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.5487, allocations: 39.7 kB / 1.456 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.5488, allocations: 8 kB / 1.456 GB, free: 9.598 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.0001564/0.5489, allocations: 141.8 kB / 1.456 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.549, allocations: 31.8 kB / 1.456 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.5494, allocations: 127.1 kB / 1.457 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.5494, allocations: 4 kB / 1.457 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5494, allocations: 4 kB / 1.457 GB, free: 9.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5494, allocations: 4 kB / 1.457 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.5504, allocations: 0.7486 MB / 1.457 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5504, allocations: 0 / 1.457 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.5505, allocations: 24.14 kB / 1.457 GB, free: 8.434 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5505, allocations: 4 kB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5505, allocations: 4 kB / 1.457 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5505, allocations: 4.109 kB / 1.457 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5505, allocations: 7.938 kB / 1.457 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.5511, allocations: 339.5 kB / 1.458 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.5512, allocations: 39.83 kB / 1.458 GB, free: 8.012 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5512, allocations: 4 kB / 1.458 GB, free: 8.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5514, allocations: 8 kB / 1.458 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.5514, allocations: 19.98 kB / 1.458 GB, free: 7.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5514, allocations: 7.984 kB / 1.458 GB, free: 7.973 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002217/0.5516, allocations: 211 kB / 1.458 GB, free: 7.766 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5516, allocations: 0 / 1.458 GB, free: 7.766 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000359/0.552, allocations: 55.94 kB / 1.458 GB, free: 7.711 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.0009651/0.553, allocations: 0.9004 MB / 1.459 GB, free: 6.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.5533, allocations: 119.9 kB / 1.459 GB, free: 6.652 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5533, allocations: 192 / 1.459 GB, free: 6.652 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5535, allocations: 55.91 kB / 1.459 GB, free: 6.598 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.5542, allocations: 133.6 kB / 1.459 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.5577, allocations: 2.598 MB / 1.462 GB, free: 3.719 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.5581, allocations: 0.7558 MB / 1.462 GB, free: 2.938 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.5583, allocations: 62.23 kB / 1.463 GB, free: 2.879 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5584, allocations: 63.42 kB / 1.463 GB, free: 2.816 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/0.5584, allocations: 0 / 1.463 GB, free: 2.816 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.5964, allocations: 7.034 MB / 1.469 GB, free: 11.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.14, allocations: 8.312 kB / 1.469 GB, free: 11.98 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.12865170603618]