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.00133/0.00133, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001633/0.001633, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.755/2.755, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002205/0.002205, allocations: 63.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8976, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001994/0.8996, allocations: 1.438 MB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.8999, allocations: 204.5 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.9, allocations: 0 / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.9, allocations: 3.938 kB / 1.156 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.9, allocations: 6.688 kB / 1.156 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.9002, allocations: 28.16 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.9003, allocations: 26.42 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.9003, allocations: 6.375 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.9004, allocations: 11.08 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.9004, allocations: 10.28 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.9004, allocations: 6.75 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.9005, allocations: 29.78 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.9005, allocations: 4 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.9005, allocations: 2.781 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.9006, allocations: 46.44 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9006, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9006, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.9006, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 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.0003145/0.901, allocations: 264.4 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.901, allocations: 10.22 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.9011, allocations: 18.45 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.231e-05/0.9012, allocations: 110.4 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.9012, allocations: 10.81 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.9012, allocations: 384 / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.9014, allocations: 53.69 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9014, allocations: 192 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.9014, allocations: 3.938 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.9014, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.9015, allocations: 37.75 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.9018, allocations: 188 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.9019, allocations: 36.39 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.9019, allocations: 27.52 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.902, allocations: 3.938 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.902, allocations: 34.55 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.902, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003207/0.9023, allocations: 90.98 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.9023, allocations: 51.41 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.9024, allocations: 99.77 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.9024, allocations: 25.7 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.9024, allocations: 83.42 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.9024, allocations: 6.891 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.9024, allocations: 16.5 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.9025, allocations: 310.8 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.9025, allocations: 23.16 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.9026, allocations: 17.83 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.9027, allocations: 37.5 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9027, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.9029, allocations: 82.95 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.9029, allocations: 5.281 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.9029, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9029, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.903, allocations: 8.922 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.903, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.9031, allocations: 9.094 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9031, allocations: 3.281 kB / 1.157 GB, free: 30.68 MB / 1.076 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 3.812e-05/0.9031, allocations: 112.4 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.9031, allocations: 3.938 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.9033, allocations: 80.44 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.9033, allocations: 3.938 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.9033, allocations: 3.938 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9034, allocations: 3.422 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.576e-05/0.9034, allocations: 102.8 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9034, allocations: 3.938 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.9035, allocations: 11.16 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9035, allocations: 7.938 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.9035, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9035, allocations: 2.688 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.9035, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.9037, allocations: 163.6 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.9037, allocations: 7.891 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.9037, allocations: 2.594 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.9038, allocations: 5.859 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.9038, allocations: 5.797 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.9038, allocations: 4 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.826e-05/0.9038, allocations: 82.09 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9038, allocations: 6.656 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002162/0.9041, allocations: 2.812 kB / 1.158 GB, free: 30.13 MB / 1.076 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 5.596e-05/0.9041, allocations: 99.83 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.9043, allocations: 35.92 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.9043, allocations: 0 / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.9044, allocations: 24.97 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.9046, allocations: 5.984 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.9049, allocations: 126 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.9049, allocations: 64.19 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.9049, allocations: 2.75 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.9049, allocations: 15.25 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9049, allocations: 0 / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of Templates: time 0.002438/0.9074, allocations: 0.5171 MB / 1.159 GB, free: 29.73 MB / 1.076 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 -s ida -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: 8.472072998061776]