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.001634/0.001634, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001811/0.001811, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002037/0.002037, allocations: 62.53 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003217/0.3531, allocations: 1.665 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.3539, allocations: 382.9 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.354, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3541, allocations: 15.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.3542, allocations: 23.72 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.3547, allocations: 123.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3549, allocations: 103.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3551, allocations: 31.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.3551, allocations: 43.91 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.3552, allocations: 43.78 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.3552, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3554, allocations: 63.94 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3554, allocations: 19.92 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3555, allocations: 43.86 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3557, allocations: 127.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3557, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3557, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3557, allocations: 0 / 1.33 GB, free: 14.32 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.0006953/0.3564, allocations: 349.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3565, allocations: 8.031 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.3567, allocations: 28.86 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.357, allocations: 138.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3571, allocations: 67.95 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3572, allocations: 8.312 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.3575, allocations: 131.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3575, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3575, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3575, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.3578, allocations: 85.59 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.3585, allocations: 304.2 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.3591, allocations: 130.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3592, allocations: 36.88 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3592, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3593, allocations: 38.56 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3593, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004816/0.3597, allocations: 137.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3598, allocations: 51.41 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3599, allocations: 120.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.36, allocations: 25.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.3601, allocations: 108 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.3601, allocations: 23.78 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.3602, allocations: 25.72 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3604, allocations: 322.8 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3605, allocations: 27.98 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3606, allocations: 41.69 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3608, allocations: 78.09 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3608, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002835/0.3611, allocations: 125.6 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3611, allocations: 4 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3611, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.951e-05/0.3612, allocations: 11.94 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3613, allocations: 19.92 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3613, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.3614, allocations: 11.92 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3614, allocations: 4 kB / 1.332 GB, free: 11.69 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.0001274/0.3615, allocations: 122.4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3616, allocations: 7.953 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.3616, allocations: 8.375 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3616, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3616, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3616, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3618, allocations: 137.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3618, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.362, allocations: 15.98 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.362, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.362, allocations: 11.94 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.362, allocations: 3.938 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.362, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.3623, allocations: 203.4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.3623, allocations: 3.953 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3624, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3625, allocations: 7.984 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3626, allocations: 11.98 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3626, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.497e-05/0.3627, allocations: 96.39 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3627, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002494/0.3629, allocations: 23.89 kB / 1.333 GB, free: 10.97 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.0001436/0.3631, allocations: 99.25 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3634, allocations: 67.89 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3634, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3635, allocations: 47.97 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3639, allocations: 21.64 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.3644, allocations: 203.2 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.3645, allocations: 87.11 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.375e-05/0.3646, allocations: 12 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3646, allocations: 19.38 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3646, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of Templates: time 0.004542/0.3692, allocations: 1.469 MB / 1.335 GB, free: 8.938 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 -s gbode -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: 8.83739129100286]