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.001732/0.001732, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00209/0.00209, allocations: 156 kB / 23.01 MB, free: 4.602 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.874/2.874, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 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.002266/0.002266, allocations: 63.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8267, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002777/0.8295, allocations: 1.674 MB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.8302, allocations: 377.4 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.8302, allocations: 1.375 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.8303, allocations: 10.69 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.8304, allocations: 20.94 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.8308, allocations: 129.4 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.8309, allocations: 113.4 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.831, allocations: 21.59 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.8311, allocations: 45.67 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.8312, allocations: 36.11 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.8312, allocations: 7.25 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.8313, allocations: 61.33 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.8314, allocations: 24.22 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.8314, allocations: 46.64 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.8316, allocations: 130.8 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8316, allocations: 0 / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8316, allocations: 0 / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.8316, allocations: 1.969 kB / 1.189 GB, free: 14.53 MB / 1.076 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.0004714/0.8321, allocations: 344 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.8321, allocations: 9.156 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.8324, allocations: 28.66 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.8326, allocations: 143.5 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.8326, allocations: 61.5 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.8326, allocations: 10.34 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.8329, allocations: 132.8 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8329, allocations: 3.938 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8329, allocations: 1.062 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8329, allocations: 2.375 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.8332, allocations: 77.77 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.8337, allocations: 307.7 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.8342, allocations: 130.7 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.8344, allocations: 41.11 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.8344, allocations: 1.891 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.8344, allocations: 35.94 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8344, allocations: 1.25 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.8348, allocations: 129.6 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.8348, allocations: 52.5 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.8349, allocations: 126.9 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.8349, allocations: 26.89 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.8349, allocations: 100.3 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.8349, allocations: 27.81 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.835, allocations: 25.42 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.835, allocations: 322.1 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.8351, allocations: 27.16 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.8352, allocations: 43.72 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.8354, allocations: 80.61 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8354, allocations: 3.938 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002461/0.8357, allocations: 119.7 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8357, allocations: 6.031 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8357, allocations: 0 / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8357, allocations: 1.406 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.8358, allocations: 17.44 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8358, allocations: 1.188 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.8359, allocations: 15.58 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.8359, allocations: 9.406 kB / 1.192 GB, free: 12.64 MB / 1.076 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 5.235e-05/0.8359, allocations: 122.7 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.836, allocations: 7.297 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.836, allocations: 12.33 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.836, allocations: 1.219 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.836, allocations: 0 / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.836, allocations: 4.641 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.8361, allocations: 130.4 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8361, allocations: 0 / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.8362, allocations: 19.62 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8362, allocations: 5.125 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8363, allocations: 4.547 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8363, allocations: 1.375 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8363, allocations: 0 / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.8365, allocations: 209 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.8365, allocations: 7.188 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.8365, allocations: 2.25 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.8367, allocations: 11.08 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.8367, allocations: 8.094 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.8367, allocations: 7.922 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.8368, allocations: 93.31 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8368, allocations: 0 / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002472/0.837, allocations: 28.5 kB / 1.192 GB, free: 12.09 MB / 1.076 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 7.499e-05/0.8371, allocations: 98.89 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8374, allocations: 74.06 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8374, allocations: 1.188 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8375, allocations: 34.38 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.8378, allocations: 26.36 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.8382, allocations: 204.2 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.8382, allocations: 89.67 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.8383, allocations: 6.562 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.8383, allocations: 11.91 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.8383, allocations: 0 / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of Templates: time 0.004011/0.8423, allocations: 1.358 MB / 1.194 GB, free: 11.54 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.566949431085959]