Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.0009478/0.0009478, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0009936/0.0009936, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.739/1.739, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.075e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002278/0.002309, allocations: 1.44 MB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.00276, allocations: 255.1 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.002793, allocations: 0 / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002823, allocations: 7.938 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.002884, allocations: 11.91 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.003203, allocations: 55.75 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.003287, allocations: 31.86 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.003383, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.003434, allocations: 11.98 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.003479, allocations: 7.984 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003494, allocations: 4 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.003633, allocations: 95.66 kB / 0.984 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.003646, allocations: 4 kB / 0.984 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.003665, allocations: 7.938 kB / 0.9841 GB, free: 156 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.003804, allocations: 67.84 kB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.003808, allocations: 4 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003809, allocations: 0 / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003813, allocations: 0 / 0.9841 GB, free: 84 kB / 0.9323 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.0003342/0.004147, allocations: 270.2 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.004185, allocations: 8.031 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.004212, allocations: 8.891 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.004292, allocations: 101.8 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.004301, allocations: 4.375 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-06/0.004309, allocations: 4.375 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.004436, allocations: 58.16 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004442, allocations: 192 / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004451, allocations: 384 / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004455, allocations: 384 / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.004543, allocations: 35.91 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.004799, allocations: 196.6 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.004903, allocations: 38.56 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.004953, allocations: 28.83 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.00497, allocations: 3.938 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.004988, allocations: 34.56 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004989, allocations: 0 / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002071/0.005196, allocations: 89.62 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005226, allocations: 55.41 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.005286, allocations: 93.86 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005297, allocations: 25.7 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.005331, allocations: 84.14 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.005351, allocations: 11.94 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.005373, allocations: 9.719 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.005451, allocations: 318.8 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.00549, allocations: 15.92 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.005527, allocations: 24 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.466e-05/0.005601, allocations: 36.83 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.005603, allocations: 0 / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001428/0.005746, allocations: 65.66 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00576, allocations: 4 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.005767, allocations: 3.938 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005778, allocations: 4.094 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.005848, allocations: 11.98 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.005852, allocations: 3.938 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.005874, allocations: 4 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.00588, allocations: 3.938 kB / 0.9857 GB, free: 14.28 MB / 0.948 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.225e-05/0.005932, allocations: 113.8 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.005944, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.006074, allocations: 76.89 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006077, allocations: 4 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.006081, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006083, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.006168, allocations: 101.3 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.00617, allocations: 3.984 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.006191, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.006193, allocations: 4 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.006199, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.006201, allocations: 7.938 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006202, allocations: 0 / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.006322, allocations: 175.4 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.006327, allocations: 0 / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006337, allocations: 7.984 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.006373, allocations: 7.938 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.006404, allocations: 3.984 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.006406, allocations: 0 / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.006432, allocations: 83.45 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006433, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001636/0.006596, allocations: 19.97 kB / 0.9863 GB, free: 13.62 MB / 0.948 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.0001267/0.006723, allocations: 115.7 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.006842, allocations: 35.91 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.006843, allocations: 0 / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.006881, allocations: 19.97 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.007062, allocations: 14.62 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.007542, allocations: 134.5 kB / 0.9866 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.007584, allocations: 63.34 kB / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.007603, allocations: 8.5 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.007604, allocations: 0 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of Templates: time 0.001521/0.009125, allocations: 0.6935 MB / 0.9873 GB, free: 12.49 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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: 6.7557610077783465]