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.001394/0.001394, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002336/0.002336, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.901/2.901, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 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="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.002027/0.002027, allocations: 75.81 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9614, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2256/1.187, allocations: 164.8 MB / 1.44 GB, free: 7.172 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006762/1.194, allocations: 4.582 MB / 1.444 GB, free: 2.582 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/1.194, allocations: 19.81 kB / 1.444 GB, free: 2.562 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/1.195, allocations: 131.1 kB / 1.444 GB, free: 2.434 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/1.196, allocations: 346.4 kB / 1.445 GB, free: 2.094 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/1.197, allocations: 279 kB / 1.445 GB, free: 1.824 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000872/1.198, allocations: 0.5534 MB / 1.446 GB, free: 1.27 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/1.198, allocations: 185.2 kB / 1.446 GB, free: 1.086 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/1.199, allocations: 470.3 kB / 1.446 GB, free: 0.625 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/1.2, allocations: 207.2 kB / 1.446 GB, free: 432 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/1.2, allocations: 16 kB / 1.446 GB, free: 416 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/1.2, allocations: 79.92 kB / 1.447 GB, free: 336 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/1.2, allocations: 91.72 kB / 1.447 GB, free: 244 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/1.2, allocations: 119.4 kB / 1.447 GB, free: 124 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/1.201, allocations: 304.9 kB / 1.447 GB, free: 15.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.201, allocations: 0 / 1.447 GB, free: 15.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.527e-06/1.201, allocations: 4 kB / 1.447 GB, free: 15.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.201, allocations: 0 / 1.447 GB, free: 15.82 MB / 1.139 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.001009/1.202, allocations: 0.5369 MB / 1.448 GB, free: 15.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.202, allocations: 12.03 kB / 1.448 GB, free: 15.22 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/1.202, allocations: 7.938 kB / 1.448 GB, free: 15.21 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.672e-05/1.202, allocations: 58.48 kB / 1.448 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/1.202, allocations: 31.84 kB / 1.448 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/1.202, allocations: 291.4 kB / 1.448 GB, free: 14.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.202, allocations: 12 kB / 1.448 GB, free: 14.78 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/1.202, allocations: 24 kB / 1.448 GB, free: 14.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/1.203, allocations: 261.8 kB / 1.448 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.203, allocations: 4 kB / 1.448 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.203, allocations: 8 kB / 1.448 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.203, allocations: 8 kB / 1.448 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/1.203, allocations: 147.8 kB / 1.448 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/1.205, allocations: 1.368 MB / 1.45 GB, free: 12.84 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/1.205, allocations: 179.7 kB / 1.45 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/1.205, allocations: 85.11 kB / 1.45 GB, free: 12.51 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/1.206, allocations: 129 kB / 1.45 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.206, allocations: 42.48 kB / 1.45 GB, free: 12.31 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/1.206, allocations: 0 / 1.45 GB, free: 12.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006732/1.206, allocations: 209.8 kB / 1.45 GB, free: 12.1 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.207, allocations: 187.9 kB / 1.45 GB, free: 11.88 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/1.207, allocations: 287 kB / 1.451 GB, free: 11.59 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.207, allocations: 25.7 kB / 1.451 GB, free: 11.55 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.207, allocations: 152 kB / 1.451 GB, free: 11.4 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/1.207, allocations: 35.69 kB / 1.451 GB, free: 11.37 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/1.207, allocations: 37.83 kB / 1.451 GB, free: 11.32 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.207, allocations: 338.8 kB / 1.451 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.207, allocations: 47.89 kB / 1.451 GB, free: 10.94 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.208, allocations: 118.3 kB / 1.451 GB, free: 10.8 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/1.208, allocations: 158.7 kB / 1.452 GB, free: 10.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.208, allocations: 0 / 1.452 GB, free: 10.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000425/1.208, allocations: 193.5 kB / 1.452 GB, free: 10.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.208, allocations: 8 kB / 1.452 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.208, allocations: 224 / 1.452 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.208, allocations: 8 kB / 1.452 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/1.209, allocations: 35.91 kB / 1.452 GB, free: 10.37 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.209, allocations: 3.938 kB / 1.452 GB, free: 10.37 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/1.209, allocations: 27.83 kB / 1.452 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/1.209, allocations: 12 kB / 1.452 GB, free: 10.33 MB / 1.139 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.0001509/1.209, allocations: 140 kB / 1.452 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/1.209, allocations: 35.67 kB / 1.452 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/1.209, allocations: 138.9 kB / 1.452 GB, free: 10 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.209, allocations: 4 kB / 1.452 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.209, allocations: 0 / 1.452 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.209, allocations: 0 / 1.452 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/1.21, allocations: 0.7731 MB / 1.453 GB, free: 9.148 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.21, allocations: 3.984 kB / 1.453 GB, free: 9.145 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/1.211, allocations: 23.98 kB / 1.453 GB, free: 9.121 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.211, allocations: 0 / 1.453 GB, free: 9.121 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.211, allocations: 4 kB / 1.453 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.211, allocations: 4 kB / 1.453 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.211, allocations: 0 / 1.453 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/1.211, allocations: 347.5 kB / 1.453 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.211, allocations: 109 kB / 1.453 GB, free: 8.617 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/1.211, allocations: 8.062 kB / 1.453 GB, free: 8.609 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/1.211, allocations: 16.11 kB / 1.453 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.212, allocations: 11.92 kB / 1.453 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/1.212, allocations: 4 kB / 1.453 GB, free: 8.578 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002179/1.212, allocations: 209.9 kB / 1.454 GB, free: 8.371 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.212, allocations: 0 / 1.454 GB, free: 8.371 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003614/1.212, allocations: 55.94 kB / 1.454 GB, free: 8.316 MB / 1.139 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.001028/1.213, allocations: 0.9076 MB / 1.455 GB, free: 7.367 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003809/1.214, allocations: 115.8 kB / 1.455 GB, free: 7.254 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.214, allocations: 0 / 1.455 GB, free: 7.254 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/1.214, allocations: 60.7 kB / 1.455 GB, free: 7.195 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/1.214, allocations: 139.6 kB / 1.455 GB, free: 7.062 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.218, allocations: 2.623 MB / 1.457 GB, free: 4.293 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/1.219, allocations: 0.7558 MB / 1.458 GB, free: 3.512 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001809/1.219, allocations: 46.25 kB / 1.458 GB, free: 3.469 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.219, allocations: 67.42 kB / 1.458 GB, free: 3.402 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/1.219, allocations: 0 / 1.458 GB, free: 3.402 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/1.248, allocations: 6.896 MB / 1.465 GB, free: 12.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/10.18, allocations: 13.55 kB / 1.465 GB, free: 12.67 MB / 1.154 GB " [Timeout remaining time 290] (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: 16.813642152992543]