Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001762/0.001762, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001965/0.001965, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.001/3.001, allocations: 0.49 GB / 0.7923 GB, free: 1.398 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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002043/0.002043, allocations: 75.86 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9756/0.9777, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002363/0.98, allocations: 1.422 MB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.9809, allocations: 0.5992 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.9809, allocations: 0 / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.9809, allocations: 7.219 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.981, allocations: 10.78 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.9814, allocations: 95.98 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.9814, allocations: 24.31 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.9815, allocations: 6.922 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.9815, allocations: 7.031 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.9816, allocations: 16.69 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.9816, allocations: 0 / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.9818, allocations: 151.1 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.9818, allocations: 11.2 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.9819, allocations: 14.81 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.982, allocations: 107.1 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.982, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/0.982, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.9821, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 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.0003967/0.9825, allocations: 361.2 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.9825, allocations: 13.05 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.9829, allocations: 34.14 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.983, allocations: 164.3 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.983, allocations: 7.219 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.983, allocations: 384 / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.9833, allocations: 67.12 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9833, allocations: 192 / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.9833, allocations: 7.922 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.9833, allocations: 6.719 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.9836, allocations: 50.67 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.9839, allocations: 270.8 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.9842, allocations: 68.08 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.9843, allocations: 32.41 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.9843, allocations: 0 / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.9843, allocations: 34.56 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.9843, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005041/0.9848, allocations: 109.1 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.9849, allocations: 55.34 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.9849, allocations: 106.9 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.9849, allocations: 25.7 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.985, allocations: 90.97 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.985, allocations: 7.891 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.985, allocations: 19.69 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.9851, allocations: 317.5 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.9852, allocations: 24.34 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.9853, allocations: 31.36 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.9856, allocations: 53.78 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9856, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002825/0.9859, allocations: 99.42 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.9859, allocations: 6.844 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9859, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.9859, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.986, allocations: 14.39 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.986, allocations: 3.984 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.9861, allocations: 16.75 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9861, allocations: 7 kB / 1.326 GB, free: 21.65 MB / 1.061 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 5.305e-05/0.9862, allocations: 113.8 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.9862, allocations: 6.25 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.9862, allocations: 3.125 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.9862, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9862, allocations: 6.562 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.9862, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9864, allocations: 168.3 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9864, allocations: 3.938 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.9865, allocations: 11.84 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9865, allocations: 2.656 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.9865, allocations: 3.328 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.9865, allocations: 0 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9865, allocations: 0 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.9868, allocations: 189.8 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.9868, allocations: 81.06 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.9868, allocations: 5.969 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.9869, allocations: 9.297 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.987, allocations: 4.031 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.987, allocations: 0 / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.024e-05/0.987, allocations: 85.59 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.987, allocations: 2.812 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002351/0.9872, allocations: 13.16 kB / 1.327 GB, free: 20.98 MB / 1.061 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.0001429/0.9874, allocations: 106.9 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.9877, allocations: 59.75 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9877, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.9878, allocations: 30.31 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.9881, allocations: 10.23 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.9885, allocations: 165.8 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.9886, allocations: 0.678 MB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.9886, allocations: 13.73 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of SimCode: time 2.51e-07/0.9886, allocations: 0 / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of Templates: time 0.002619/0.9913, allocations: 0.9111 MB / 1.329 GB, free: 19.95 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.960255178011721]