Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001649/0.001649, 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.002183/0.002183, 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.603/1.603, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.263/3.263, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00204/0.00204, allocations: 75.89 kB / 1.165 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 178.9 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003401/1.246, allocations: 1.694 MB / 1.342 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008519/1.247, allocations: 406.5 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/1.247, allocations: 1.094 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/1.248, allocations: 9.281 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/1.248, allocations: 22.22 kB / 1.342 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/1.248, allocations: 116.8 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/1.248, allocations: 108.9 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/1.249, allocations: 32.2 kB / 1.342 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/1.249, allocations: 39.88 kB / 1.342 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.249, allocations: 42.91 kB / 1.343 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/1.249, allocations: 8.719 kB / 1.343 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/1.249, allocations: 63.64 kB / 1.343 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/1.249, allocations: 24.22 kB / 1.343 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/1.249, allocations: 44.81 kB / 1.343 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/1.25, allocations: 141.2 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/1.25, allocations: 4 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.025e-06/1.25, allocations: 1.156 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.25, allocations: 0 / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009184/1.25, allocations: 421.5 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/1.251, allocations: 9.969 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.19e-05/1.251, allocations: 2.625 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/1.251, allocations: 40.84 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/1.251, allocations: 41.25 kB / 1.343 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/1.251, allocations: 195.1 kB / 1.343 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.252, allocations: 32.2 kB / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/1.252, allocations: 8.094 kB / 1.344 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/1.252, allocations: 110.9 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.252, allocations: 0 / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.252, allocations: 5.156 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.252, allocations: 1.062 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/1.252, allocations: 79.12 kB / 1.344 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/1.253, allocations: 384.2 kB / 1.344 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/1.254, allocations: 128.4 kB / 1.344 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/1.254, allocations: 42.83 kB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.254, allocations: 0 / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.254, allocations: 37 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 4.739e-06/1.254, allocations: 3.984 kB / 1.344 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005157/1.255, allocations: 131.6 kB / 1.344 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.255, allocations: 60.2 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/1.255, allocations: 139.4 kB / 1.345 GB, free: 10.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/1.255, allocations: 25.7 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/1.255, allocations: 103.5 kB / 1.345 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/1.255, allocations: 26.84 kB / 1.345 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/1.255, allocations: 23.53 kB / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.255, allocations: 317.4 kB / 1.345 GB, free: 9.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/1.255, allocations: 27.45 kB / 1.345 GB, free: 9.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/1.255, allocations: 48.52 kB / 1.345 GB, free: 9.535 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.256, allocations: 80.77 kB / 1.345 GB, free: 9.484 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.256, allocations: 0 / 1.345 GB, free: 9.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003143/1.256, allocations: 116 kB / 1.345 GB, free: 9.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.256, allocations: 5.438 kB / 1.345 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.256, allocations: 0 / 1.345 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.256, allocations: 5.156 kB / 1.345 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.256, allocations: 22.3 kB / 1.345 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.256, allocations: 0 / 1.345 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/1.256, allocations: 17.34 kB / 1.345 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/1.256, allocations: 10.09 kB / 1.345 GB, free: 9.379 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001318/1.256, allocations: 117.2 kB / 1.345 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/1.257, allocations: 8.359 kB / 1.345 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/1.257, allocations: 14.69 kB / 1.346 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/1.257, allocations: 5.016 kB / 1.346 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.257, allocations: 5.188 kB / 1.346 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.257, allocations: 0 / 1.346 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/1.257, allocations: 200.3 kB / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.257, allocations: 0 / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/1.257, allocations: 16.3 kB / 1.346 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.257, allocations: 0 / 1.346 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.257, allocations: 9.125 kB / 1.346 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.257, allocations: 0.9375 kB / 1.346 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.257, allocations: 0 / 1.346 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/1.257, allocations: 211.1 kB / 1.346 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/1.257, allocations: 84.41 kB / 1.346 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/1.257, allocations: 3.938 kB / 1.346 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/1.258, allocations: 15.17 kB / 1.346 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/1.258, allocations: 6.172 kB / 1.346 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/1.258, allocations: 2.281 kB / 1.346 GB, free: 8.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.01e-05/1.258, allocations: 104.7 kB / 1.346 GB, free: 8.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.258, allocations: 4 kB / 1.346 GB, free: 8.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002741/1.258, allocations: 25.22 kB / 1.346 GB, free: 8.605 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0008017/1.259, allocations: 0.7297 MB / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003179/1.259, allocations: 81.06 kB / 1.347 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.259, allocations: 0 / 1.347 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/1.259, allocations: 40.77 kB / 1.347 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/1.26, allocations: 33.03 kB / 1.347 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/1.262, allocations: 1.551 MB / 1.349 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/1.262, allocations: 0.6953 MB / 1.349 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.364e-05/1.262, allocations: 11.12 kB / 1.349 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/1.263, allocations: 23.91 kB / 1.349 GB, free: 5.711 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/1.263, allocations: 3.938 kB / 1.349 GB, free: 5.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/1.28, allocations: 2.801 MB / 1.352 GB, free: 4.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/9.578, allocations: 12.31 kB / 1.352 GB, free: 4.281 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.693617632961832]