Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 188.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.88 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8883, allocations: 160.8 MB / 1.218 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003006/0.8913, allocations: 1.431 MB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.8926, allocations: 0.6068 MB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.8926, allocations: 1.094 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.8926, allocations: 3.938 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.8927, allocations: 5.25 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.8932, allocations: 100.3 kB / 1.221 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.8932, allocations: 25.58 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.8933, allocations: 2.312 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.8934, allocations: 16.44 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.8934, allocations: 15.27 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.8935, allocations: 2.156 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.8938, allocations: 151.7 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.8938, allocations: 1.062 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.8938, allocations: 14.11 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.8941, allocations: 97.5 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8941, allocations: 1.156 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8941, allocations: 3.938 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8941, allocations: 0 / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006312/0.8947, allocations: 365.1 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8948, allocations: 9.25 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.8952, allocations: 36.17 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.8954, allocations: 165.9 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.8954, allocations: 1.812 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.8954, allocations: 2.188 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.8957, allocations: 74.33 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8957, allocations: 192 / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8957, allocations: 3.938 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8957, allocations: 1.562 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.896, allocations: 51.06 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.8965, allocations: 275.8 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.8968, allocations: 63.12 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.8969, allocations: 34.92 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.8969, allocations: 1.188 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.8969, allocations: 31.62 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8969, allocations: 0 / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005127/0.8975, allocations: 115.1 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8975, allocations: 51.41 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.8976, allocations: 102.8 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.8976, allocations: 27.05 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.8977, allocations: 84.08 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.8977, allocations: 9.016 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.8977, allocations: 17.02 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8979, allocations: 315.9 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.898, allocations: 25.81 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.8981, allocations: 29.75 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.8984, allocations: 64.64 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8984, allocations: 0 / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003036/0.8987, allocations: 86.64 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8987, allocations: 4.469 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8987, allocations: 9.297 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.8987, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.8988, allocations: 20.03 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8989, allocations: 0 / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.8989, allocations: 9.203 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.899, allocations: 1.219 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.615e-05/0.899, allocations: 124.4 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.8991, allocations: 4 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.8991, allocations: 8.438 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8991, allocations: 0.75 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.8991, allocations: 1.031 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8991, allocations: 0 / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.8993, allocations: 175.4 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8993, allocations: 1.125 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.8994, allocations: 11.58 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8994, allocations: 4 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.8994, allocations: 1.25 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8995, allocations: 4 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8995, allocations: 1.438 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.8998, allocations: 196.7 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.8999, allocations: 82.19 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8999, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.9, allocations: 8.922 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.9, allocations: 2.031 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.9001, allocations: 5.047 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.9001, allocations: 78.53 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9001, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002499/0.9003, allocations: 14.5 kB / 1.224 GB, free: 15.24 MB / 0.9356 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 (2): * Single equations (assignments): 2 * 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.0001997/0.9005, allocations: 113.1 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.9009, allocations: 58.38 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9009, allocations: 1.094 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.901, allocations: 35.22 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.9013, allocations: 10.48 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.9018, allocations: 129.2 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.9021, allocations: 0.6761 MB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.424e-05/0.9021, allocations: 15.28 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.9022, allocations: 9.594 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9022, allocations: 0 / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.003656/0.9058, allocations: 0.7988 MB / 1.225 GB, free: 13.83 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.77721063233912]