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.00176/0.00176, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002448/0.002448, allocations: 211.7 kB / 22.25 MB, free: 5.082 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.659/1.659, allocations: 230.6 MB / 256 MB, free: 8.016 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.425/3.425, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 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="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: 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.002023/0.002023, allocations: 62.5 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003951/0.4066, allocations: 1.702 MB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.4075, allocations: 407 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.4077, allocations: 7.938 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.4078, allocations: 7.875 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.4079, allocations: 23.78 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.4085, allocations: 131.6 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.4087, allocations: 107.6 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.4089, allocations: 35.91 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.409, allocations: 35.92 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.4091, allocations: 43.78 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.4091, allocations: 8 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.4093, allocations: 67.94 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.4094, allocations: 27.91 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.4094, allocations: 39.8 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.4098, allocations: 123.5 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4098, allocations: 11.88 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4098, allocations: 0 / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4098, allocations: 0 / 1.356 GB, free: 5.738 MB / 1.045 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.0007057/0.4105, allocations: 345.8 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.4105, allocations: 12.03 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.4106, allocations: 46.73 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.4109, allocations: 32.77 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.4112, allocations: 130.4 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4113, allocations: 63.97 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.4113, allocations: 4.375 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.4116, allocations: 117.8 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4116, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4117, allocations: 4 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4117, allocations: 4 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.4119, allocations: 71.94 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.4128, allocations: 363.5 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.4133, allocations: 122.6 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4135, allocations: 36.84 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4135, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.4135, allocations: 38.5 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4135, allocations: 4 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004554/0.414, allocations: 129.6 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.414, allocations: 55.34 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4142, allocations: 135.5 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.4142, allocations: 33.7 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4143, allocations: 100.1 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4143, allocations: 23.8 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.4144, allocations: 25.7 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4145, allocations: 314.8 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4146, allocations: 31.97 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4148, allocations: 49.83 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.415, allocations: 77.62 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.415, allocations: 4 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002783/0.4153, allocations: 110 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4153, allocations: 4 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4153, allocations: 4 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4153, allocations: 7.969 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4154, allocations: 15.98 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4154, allocations: 80 / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.4155, allocations: 19.89 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4155, allocations: 3.984 kB / 1.358 GB, free: 3.031 MB / 1.045 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.0001302/0.4157, allocations: 122.4 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.4157, allocations: 11.89 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.4158, allocations: 16.72 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4158, allocations: 7.938 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.416, allocations: 180.6 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.416, allocations: 3.938 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4161, allocations: 15.98 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4161, allocations: 0 / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4162, allocations: 0 / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.4162, allocations: 7.938 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4162, allocations: 0 / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4165, allocations: 203.4 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.4165, allocations: 11.94 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4166, allocations: 4 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4167, allocations: 11.92 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4168, allocations: 7.984 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4168, allocations: 3.984 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.4169, allocations: 112.9 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4169, allocations: 0 / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002606/0.4171, allocations: 24 kB / 1.359 GB, free: 2.234 MB / 1.045 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.0007284/0.4179, allocations: 0.7281 MB / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.4182, allocations: 75.88 kB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4182, allocations: 0 / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4183, allocations: 35.97 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4187, allocations: 27.98 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.421, allocations: 1.561 MB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.4213, allocations: 0.6963 MB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.372e-05/0.4214, allocations: 8.672 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.4215, allocations: 31.42 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4215, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.451, allocations: 2.89 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.61, allocations: 4.562 kB / 1.365 GB, free: 12.18 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.859009753912687]