Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001778/0.001778, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001706/0.001706, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.4899 GB / 0.7915 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_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.001921/0.001921, allocations: 70.02 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3516, allocations: 176.1 MB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003367/0.3549, allocations: 1.684 MB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.3558, allocations: 402.8 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.3558, allocations: 4 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.3559, allocations: 15.86 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.356, allocations: 19.73 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.3565, allocations: 125.7 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3567, allocations: 107.6 kB / 1.324 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3569, allocations: 39.91 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.3569, allocations: 43.84 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.357, allocations: 35.84 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.357, allocations: 8 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3572, allocations: 59.95 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.3572, allocations: 23.91 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.3573, allocations: 55.78 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.3575, allocations: 119.5 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3575, allocations: 0 / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3575, allocations: 3.938 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3575, allocations: 0 / 1.324 GB, free: 196 kB / 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.0007466/0.3583, allocations: 426.9 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3583, allocations: 15.98 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.3586, allocations: 36.75 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3588, allocations: 192.2 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.3589, allocations: 34.27 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3589, allocations: 12.38 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.3592, allocations: 102.1 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3592, allocations: 3.938 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3592, allocations: 4 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3593, allocations: 4 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.3595, allocations: 83.86 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.3603, allocations: 376.6 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.3609, allocations: 130.6 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.3611, allocations: 41 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3611, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.3611, allocations: 42.53 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3611, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005123/0.3616, allocations: 129.5 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3617, allocations: 55.41 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3618, allocations: 143.6 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3619, allocations: 29.7 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.3619, allocations: 100 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.362, allocations: 27.78 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.362, allocations: 21.72 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3622, allocations: 318.8 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3623, allocations: 27.98 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3625, allocations: 49.69 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3627, allocations: 81.55 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3627, allocations: 7.938 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002986/0.363, allocations: 110.1 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.363, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.363, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.363, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3632, allocations: 27.86 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3632, allocations: 8.062 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.3633, allocations: 15.94 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3633, allocations: 0 / 1.326 GB, free: 13.34 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.0001086/0.3634, allocations: 117.8 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.3634, allocations: 7.953 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.3635, allocations: 16.72 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3635, allocations: 3.938 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3635, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3635, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.3637, allocations: 197.6 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3637, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3638, allocations: 15.98 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3638, allocations: 3.938 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3638, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3638, allocations: 7.938 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3638, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3642, allocations: 203.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.3643, allocations: 89 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3643, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3645, allocations: 19.92 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3645, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3645, allocations: 3.984 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.409e-05/0.3646, allocations: 108.8 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002588/0.3649, allocations: 19.95 kB / 1.327 GB, free: 12.44 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.0001305/0.365, allocations: 103.2 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.3653, allocations: 75.94 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3653, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3654, allocations: 35.92 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3658, allocations: 33.39 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.3663, allocations: 203 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3666, allocations: 0.6925 MB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.59e-05/0.3667, allocations: 8.672 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.3667, allocations: 11.44 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3667, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of Templates: time 0.004592/0.3713, allocations: 1.475 MB / 1.33 GB, free: 9.77 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.822418831288815]