Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001792/0.001792, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002474/0.002474, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [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.002141/0.002141, allocations: 66.81 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.31, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003082/0.313, allocations: 1.436 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005708/0.3136, allocations: 211.3 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.3136, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.3137, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.3137, allocations: 7.922 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.314, allocations: 31.91 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.314, allocations: 19.92 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3141, allocations: 8 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.3142, allocations: 11.92 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3143, allocations: 11.94 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3143, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3144, allocations: 39.95 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3144, allocations: 4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3145, allocations: 7.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3146, allocations: 31.91 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3146, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3146, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3146, allocations: 3.984 kB / 1.285 GB, free: 10.19 MB / 0.9825 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.0004976/0.3151, allocations: 270.2 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3152, allocations: 8.031 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3153, allocations: 4.938 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3154, allocations: 118.5 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3155, allocations: 384 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.3155, allocations: 384 / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3157, allocations: 50.23 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3157, allocations: 192 / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3157, allocations: 3.938 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3157, allocations: 7.984 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3159, allocations: 31.91 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3162, allocations: 196.6 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3163, allocations: 34.56 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.3164, allocations: 24.91 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3165, allocations: 3.938 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3165, allocations: 38.44 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3165, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003872/0.3169, allocations: 85.64 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3169, allocations: 51.41 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.317, allocations: 101.8 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.317, allocations: 25.7 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3171, allocations: 84.14 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3171, allocations: 3.953 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3171, allocations: 13.72 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3173, allocations: 318.8 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.3174, allocations: 16.11 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.3175, allocations: 19.98 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3176, allocations: 48.69 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3176, allocations: 0 / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.3178, allocations: 61.61 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3178, allocations: 8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3179, allocations: 8.078 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3179, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.3179, allocations: 8 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.318, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.318, allocations: 7.984 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.318, allocations: 0 / 1.286 GB, free: 8.395 MB / 0.9825 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 0.0001049/0.3181, allocations: 109.8 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3181, allocations: 11.89 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3184, allocations: 89.06 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3184, allocations: 4 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3184, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3184, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3186, allocations: 105.2 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3186, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.3186, allocations: 15.98 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3186, allocations: 3.938 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3187, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3187, allocations: 8 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3187, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3189, allocations: 165.2 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.3189, allocations: 11.89 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3189, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.319, allocations: 7.984 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3191, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3191, allocations: 4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3191, allocations: 83.27 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3191, allocations: 7.938 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002243/0.3194, allocations: 8 kB / 1.287 GB, free: 7.715 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0001064/0.3195, allocations: 95.25 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3197, allocations: 35.95 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3197, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.3198, allocations: 23.92 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.32, allocations: 12 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3204, allocations: 122.9 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.3205, allocations: 59.34 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.3205, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3205, allocations: 7.438 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3205, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.003065/0.3236, allocations: 0.5294 MB / 1.288 GB, free: 6.777 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.710066257044673]