Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001667/0.001667, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001781/0.001781, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.12 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 2.848/2.848, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 177] 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_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.002017/0.002017, allocations: 63.89 kB / 1.15 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 176.1 MB / 1.322 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003024/1.081, allocations: 1.419 MB / 1.323 GB, free: 6.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005506/1.082, allocations: 229.1 kB / 1.324 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/1.082, allocations: 1.125 kB / 1.324 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/1.082, allocations: 3.938 kB / 1.324 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/1.082, allocations: 9.297 kB / 1.324 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/1.082, allocations: 29.38 kB / 1.324 GB, free: 6.609 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/1.082, allocations: 26.42 kB / 1.324 GB, free: 6.594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/1.083, allocations: 2.375 kB / 1.324 GB, free: 6.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/1.083, allocations: 11.42 kB / 1.324 GB, free: 6.586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/1.083, allocations: 8.656 kB / 1.324 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/1.083, allocations: 5.156 kB / 1.324 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/1.083, allocations: 37.77 kB / 1.324 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/1.083, allocations: 1.125 kB / 1.324 GB, free: 6.559 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/1.083, allocations: 11.16 kB / 1.324 GB, free: 6.551 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/1.083, allocations: 41.48 kB / 1.324 GB, free: 6.527 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.083, allocations: 1.469 kB / 1.324 GB, free: 6.527 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/1.083, allocations: 0 / 1.324 GB, free: 6.527 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.083, allocations: 0 / 1.324 GB, free: 6.527 MB / 1.014 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.0005631/1.084, allocations: 344.6 kB / 1.324 GB, free: 6.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.084, allocations: 18.48 kB / 1.324 GB, free: 6.148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/1.084, allocations: 4.812 kB / 1.324 GB, free: 6.148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/1.084, allocations: 174.8 kB / 1.324 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.084, allocations: 384 / 1.324 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/1.084, allocations: 1.844 kB / 1.324 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.084, allocations: 52.98 kB / 1.324 GB, free: 5.895 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.084, allocations: 1.438 kB / 1.324 GB, free: 5.895 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/1.084, allocations: 7.938 kB / 1.324 GB, free: 5.887 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.084, allocations: 4 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/1.084, allocations: 30.53 kB / 1.324 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/1.085, allocations: 246.4 kB / 1.325 GB, free: 5.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/1.085, allocations: 41.91 kB / 1.325 GB, free: 5.551 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.085, allocations: 31.52 kB / 1.325 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/1.085, allocations: 0 / 1.325 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.085, allocations: 31.38 kB / 1.325 GB, free: 5.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/1.085, allocations: 0 / 1.325 GB, free: 5.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004022/1.086, allocations: 76.7 kB / 1.325 GB, free: 5.438 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.086, allocations: 59.53 kB / 1.325 GB, free: 5.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/1.086, allocations: 99.56 kB / 1.325 GB, free: 5.266 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.086, allocations: 29.64 kB / 1.325 GB, free: 5.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/1.086, allocations: 89.33 kB / 1.325 GB, free: 5.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/1.086, allocations: 13.53 kB / 1.325 GB, free: 5.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/1.086, allocations: 11 kB / 1.325 GB, free: 5.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.086, allocations: 316.4 kB / 1.325 GB, free: 4.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/1.086, allocations: 12.73 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/1.086, allocations: 26.03 kB / 1.325 GB, free: 4.777 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/1.086, allocations: 35.7 kB / 1.325 GB, free: 4.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.086, allocations: 0 / 1.325 GB, free: 4.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002132/1.086, allocations: 72.77 kB / 1.325 GB, free: 4.703 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.086, allocations: 9.531 kB / 1.325 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/1.086, allocations: 0 / 1.325 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.087, allocations: 0 / 1.325 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/1.087, allocations: 14.33 kB / 1.325 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.087, allocations: 0 / 1.325 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/1.087, allocations: 8.781 kB / 1.326 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/1.087, allocations: 0 / 1.326 GB, free: 4.688 MB / 1.014 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.0001657/1.087, allocations: 112.3 kB / 1.326 GB, free: 4.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.087, allocations: 13.3 kB / 1.326 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/1.087, allocations: 71.69 kB / 1.326 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.087, allocations: 1.219 kB / 1.326 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.087, allocations: 0 / 1.326 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.087, allocations: 0 / 1.326 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/1.087, allocations: 163.2 kB / 1.326 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.087, allocations: 0 / 1.326 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/1.087, allocations: 12.02 kB / 1.326 GB, free: 4.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.087, allocations: 7.938 kB / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.087, allocations: 1.156 kB / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.087, allocations: 0 / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.087, allocations: 1.062 kB / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/1.088, allocations: 165.5 kB / 1.326 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/1.088, allocations: 81.06 kB / 1.326 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/1.088, allocations: 5.625 kB / 1.326 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/1.088, allocations: 11.23 kB / 1.326 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/1.088, allocations: 1.375 kB / 1.326 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/1.088, allocations: 1.5 kB / 1.326 GB, free: 4.027 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.428e-05/1.088, allocations: 86.58 kB / 1.326 GB, free: 3.945 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.088, allocations: 0 / 1.326 GB, free: 3.945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002243/1.088, allocations: 8.406 kB / 1.326 GB, free: 3.941 MB / 1.014 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.0001278/1.088, allocations: 96.75 kB / 1.326 GB, free: 3.852 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002348/1.089, allocations: 45.45 kB / 1.326 GB, free: 3.828 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.089, allocations: 0 / 1.326 GB, free: 3.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/1.089, allocations: 20.86 kB / 1.326 GB, free: 3.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/1.089, allocations: 9.469 kB / 1.326 GB, free: 3.812 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/1.089, allocations: 146.1 kB / 1.327 GB, free: 3.664 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/1.09, allocations: 0.6778 MB / 1.327 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/1.09, allocations: 12.94 kB / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.09, allocations: 0 / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of Templates: time 0.002221/1.092, allocations: 0.5907 MB / 1.328 GB, free: 2.66 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.458931045010104]