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.001476/0.001476, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001697/0.001697, allocations: 221.4 kB / 23 MB, free: 4.914 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.411/3.411, allocations: 0.4892 GB / 0.7951 GB, free: 35.44 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.00205/0.00205, allocations: 71.97 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003532/0.38, allocations: 1.666 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000973/0.381, allocations: 371 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.3811, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3812, allocations: 11.81 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.3813, allocations: 19.78 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.3818, allocations: 130.5 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.382, allocations: 103.6 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3821, allocations: 35.91 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3822, allocations: 39.86 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.3823, allocations: 43.72 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3823, allocations: 8 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3824, allocations: 59.94 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.3825, allocations: 23.91 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.3825, allocations: 43.86 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3828, allocations: 127.5 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3828, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3828, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.3828, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 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.0006404/0.3835, allocations: 345.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3835, allocations: 8.031 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.3837, allocations: 28.86 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.384, allocations: 146.3 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.3841, allocations: 59.97 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3841, allocations: 16.31 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3845, allocations: 123.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3845, allocations: 3.938 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3845, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3845, allocations: 0 / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.3848, allocations: 85.97 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.3854, allocations: 308.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.386, allocations: 122.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3861, allocations: 40.88 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3861, allocations: 7.984 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3862, allocations: 34.56 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3862, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004285/0.3866, allocations: 129.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3866, allocations: 55.34 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3868, allocations: 118.1 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3868, allocations: 25.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.3869, allocations: 108 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3869, allocations: 35.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.387, allocations: 17.72 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3872, allocations: 322.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3873, allocations: 35.92 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3874, allocations: 45.69 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3876, allocations: 73.67 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3876, allocations: 8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002784/0.3879, allocations: 110 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3879, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3879, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3879, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.388, allocations: 15.98 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.388, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.3881, allocations: 15.86 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3881, allocations: 8.031 kB / 1.331 GB, free: 12.53 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.0001247/0.3882, allocations: 122.3 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.3883, allocations: 7.953 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3883, allocations: 8.375 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3883, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3883, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3883, allocations: 3.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3885, allocations: 141.2 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3885, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3886, allocations: 19.98 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3886, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3886, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3886, allocations: 4.078 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3886, allocations: 3.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.389, allocations: 203.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.389, allocations: 3.953 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.389, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3891, allocations: 7.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.3892, allocations: 15.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3892, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.3893, allocations: 91.27 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002505/0.3895, allocations: 27.89 kB / 1.332 GB, free: 11.81 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.000132/0.3896, allocations: 95.25 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3899, allocations: 75.88 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3899, allocations: 8.062 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.39, allocations: 27.98 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3904, allocations: 25.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.3909, allocations: 244.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.391, allocations: 95.11 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.3911, allocations: 11.44 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3911, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Templates: time 0.003166/0.3943, allocations: 1.266 MB / 1.334 GB, free: 9.914 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/jenkins1/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: 11.557886430993676]