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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.261/3.261, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 62.89 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003229/0.3551, allocations: 1.653 MB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.3558, allocations: 402.7 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.3559, allocations: 4 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.356, allocations: 15.8 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.356, allocations: 23.73 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.3564, allocations: 123.6 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3566, allocations: 115.5 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3567, allocations: 28.2 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.3567, allocations: 43.86 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.3568, allocations: 43.83 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3568, allocations: 8 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.357, allocations: 67.88 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.357, allocations: 15.98 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.357, allocations: 43.73 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3573, allocations: 131.5 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3573, allocations: 0 / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3573, allocations: 0 / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3573, allocations: 0 / 1.307 GB, free: 14.85 MB / 1.014 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.0006247/0.3579, allocations: 422.9 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.358, allocations: 8.922 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.358, allocations: 46.73 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.3582, allocations: 28.81 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3585, allocations: 192.2 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.3586, allocations: 42.25 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3586, allocations: 8.375 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3588, allocations: 102 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3588, allocations: 0 / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3589, allocations: 4 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3589, allocations: 4 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.3591, allocations: 79.78 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.3598, allocations: 392.5 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3603, allocations: 126.6 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3605, allocations: 40.83 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3605, allocations: 3.938 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3605, allocations: 34.56 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3605, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.3609, allocations: 137.7 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3609, allocations: 63.34 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3611, allocations: 135.2 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3611, allocations: 29.7 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.3611, allocations: 108 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3612, allocations: 19.8 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3612, allocations: 25.7 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3614, allocations: 318.8 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3615, allocations: 31.97 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3616, allocations: 49.69 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3618, allocations: 73.62 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3618, allocations: 0 / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.362, allocations: 109.6 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.362, allocations: 14.02 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.362, allocations: 0 / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.362, allocations: 3.938 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3622, allocations: 19.92 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3622, allocations: 4 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.3622, allocations: 11.95 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3622, allocations: 0 / 1.309 GB, free: 11.96 MB / 1.014 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 9.616e-05/0.3623, allocations: 125.8 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3624, allocations: 7.953 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3624, allocations: 16.72 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3624, allocations: 3.938 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3624, allocations: 0 / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3624, allocations: 0 / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3627, allocations: 205.5 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3627, allocations: 0 / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3628, allocations: 19.98 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3628, allocations: 3.938 kB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3628, allocations: 8 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3628, allocations: 3.938 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3628, allocations: 3.938 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.3631, allocations: 195.5 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.3631, allocations: 85.05 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3632, allocations: 8 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3633, allocations: 19.91 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.3633, allocations: 4 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3634, allocations: 7.984 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.3634, allocations: 99.27 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002328/0.3637, allocations: 24 kB / 1.31 GB, free: 11.04 MB / 1.014 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.0006099/0.3643, allocations: 0.7364 MB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3645, allocations: 71.97 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3645, allocations: 0 / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3646, allocations: 44.11 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.365, allocations: 37.94 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3668, allocations: 1.542 MB / 1.312 GB, free: 8.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3671, allocations: 0.6962 MB / 1.313 GB, free: 7.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.585e-05/0.3672, allocations: 12.67 kB / 1.313 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.3672, allocations: 27.42 kB / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.3672, allocations: 0 / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.3903, allocations: 2.759 MB / 1.316 GB, free: 5.141 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.518, allocations: 4.438 kB / 1.316 GB, free: 5.137 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.360929073765874]