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.001958/0.001958, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002267/0.002267, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.209/3.209, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [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.002032/0.002032, allocations: 67.92 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003459/0.3465, allocations: 1.696 MB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.3474, allocations: 406.7 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.3475, allocations: 4 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3476, allocations: 7.875 kB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.3477, allocations: 23.78 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.3482, allocations: 121.6 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3484, allocations: 103.6 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3485, allocations: 35.91 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3487, allocations: 39.91 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.3488, allocations: 47.78 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3488, allocations: 8 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3489, allocations: 67.89 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.349, allocations: 23.91 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.349, allocations: 39.8 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3493, allocations: 123.5 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3493, allocations: 4 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3493, allocations: 0 / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3493, allocations: 0 / 1.357 GB, free: 5.25 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.0006445/0.3499, allocations: 353.8 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.35, allocations: 8.031 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.3502, allocations: 36.75 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3505, allocations: 141.1 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3507, allocations: 59.97 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3507, allocations: 4.375 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.351, allocations: 108.1 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.351, allocations: 7.922 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.351, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.351, allocations: 8 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.3512, allocations: 83.92 kB / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.352, allocations: 355.5 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.3525, allocations: 130.5 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3527, allocations: 36.88 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3527, allocations: 4 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3527, allocations: 34.56 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3527, allocations: 0 / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004455/0.3532, allocations: 129.6 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3532, allocations: 55.41 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.3535, allocations: 145.7 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3535, allocations: 29.7 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.3536, allocations: 100.1 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.3536, allocations: 19.95 kB / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3536, allocations: 21.72 kB / 1.359 GB, free: 3.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.3539, allocations: 318.8 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.354, allocations: 35.95 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3541, allocations: 45.7 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3544, allocations: 82.12 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3544, allocations: 0 / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002621/0.3546, allocations: 105.5 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3546, allocations: 9.719 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3546, allocations: 4.031 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3547, allocations: 0 / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3548, allocations: 23.92 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3548, allocations: 4 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.3549, allocations: 15.88 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3549, allocations: 4 kB / 1.359 GB, free: 2.574 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.0001004/0.355, allocations: 118.4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.355, allocations: 11.95 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.355, allocations: 20.7 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.355, allocations: 3.938 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3551, allocations: 0 / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3551, allocations: 4 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3553, allocations: 172.6 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3553, allocations: 0 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3554, allocations: 12 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.3554, allocations: 7.984 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3554, allocations: 4 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3554, allocations: 3.938 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3554, allocations: 4 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.3557, allocations: 203.4 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.3557, allocations: 7.953 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3558, allocations: 0 / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3559, allocations: 19.92 kB / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.356, allocations: 11.92 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.356, allocations: 8 kB / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001723/0.3562, allocations: 107.2 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3562, allocations: 0 / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002472/0.3564, allocations: 16 kB / 1.36 GB, free: 1.785 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.000128/0.3565, allocations: 95.25 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.3569, allocations: 71.89 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3569, allocations: 4.062 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.357, allocations: 35.97 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3574, allocations: 24.36 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.3581, allocations: 249.3 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.3587, allocations: 0.6963 MB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.3587, allocations: 11.44 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3587, allocations: 0 / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of Templates: time 0.003285/0.362, allocations: 1.32 MB / 1.362 GB, free: 15.22 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 800] 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: 11.187783119006781]