Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.178/3.178, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.19 kB / 1.145 GB, free: 30.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.401, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003278/0.4042, allocations: 1.425 MB / 1.317 GB, free: 8.297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006515/0.4049, allocations: 279.1 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.4049, allocations: 4 kB / 1.318 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.405, allocations: 3.984 kB / 1.318 GB, free: 8.016 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.405, allocations: 3.938 kB / 1.318 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.4054, allocations: 59.75 kB / 1.318 GB, free: 7.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.205e-05/0.4054, allocations: 23.92 kB / 1.318 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.4055, allocations: 8 kB / 1.318 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.4056, allocations: 15.92 kB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.4056, allocations: 3.938 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.4056, allocations: 4 kB / 1.318 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.4058, allocations: 91.83 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.4058, allocations: 7.984 kB / 1.318 GB, free: 7.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.4059, allocations: 11.94 kB / 1.318 GB, free: 7.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.406, allocations: 67.67 kB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.406, allocations: 4 kB / 1.318 GB, free: 7.719 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.406, allocations: 4 kB / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.406, allocations: 0 / 1.318 GB, free: 7.715 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.0004909/0.4065, allocations: 270.2 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4066, allocations: 8.031 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.4066, allocations: 8.922 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4067, allocations: 106.5 kB / 1.318 GB, free: 7.273 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4067, allocations: 4.375 kB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4067, allocations: 4.375 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.4069, allocations: 50.23 kB / 1.318 GB, free: 7.211 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4069, allocations: 4.188 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4069, allocations: 3.938 kB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.407, allocations: 7.922 kB / 1.318 GB, free: 7.195 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.4071, allocations: 31.91 kB / 1.318 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.4075, allocations: 224 kB / 1.319 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4076, allocations: 42.5 kB / 1.319 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.4077, allocations: 16.91 kB / 1.319 GB, free: 6.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4077, allocations: 3.938 kB / 1.319 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4077, allocations: 38.55 kB / 1.319 GB, free: 6.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4077, allocations: 0 / 1.319 GB, free: 6.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.4081, allocations: 81.59 kB / 1.319 GB, free: 6.695 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4081, allocations: 51.41 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.4082, allocations: 105.8 kB / 1.319 GB, free: 6.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4083, allocations: 25.7 kB / 1.319 GB, free: 6.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.4083, allocations: 84.08 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.4083, allocations: 7.953 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.4084, allocations: 21.83 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4085, allocations: 310.8 kB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.4086, allocations: 15.98 kB / 1.319 GB, free: 6.039 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/0.4087, allocations: 15.98 kB / 1.319 GB, free: 6.023 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4089, allocations: 40.81 kB / 1.319 GB, free: 5.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4089, allocations: 4 kB / 1.319 GB, free: 5.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.4091, allocations: 69.61 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4091, allocations: 4 kB / 1.32 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4091, allocations: 0 / 1.32 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4091, allocations: 7.984 kB / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.4092, allocations: 4 kB / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4092, allocations: 0 / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.4092, allocations: 12.02 kB / 1.32 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.4093, allocations: 0 / 1.32 GB, free: 5.875 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 9.618e-05/0.4093, allocations: 114.4 kB / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4094, allocations: 0 / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4096, allocations: 80.86 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4096, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4096, allocations: 3.984 kB / 1.32 GB, free: 5.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4096, allocations: 4.031 kB / 1.32 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.4098, allocations: 132.7 kB / 1.32 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4098, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4099, allocations: 11.98 kB / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4099, allocations: 3.938 kB / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4099, allocations: 0 / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4099, allocations: 0 / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4099, allocations: 0 / 1.32 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.4102, allocations: 175.3 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-06/0.4102, allocations: 4 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.4102, allocations: 4 kB / 1.32 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.4103, allocations: 7.984 kB / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.4103, allocations: 0 / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.4103, allocations: 0 / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.4104, allocations: 83.28 kB / 1.32 GB, free: 5.184 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 4.031 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002489/0.4106, allocations: 15.92 kB / 1.32 GB, free: 5.164 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 (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.0002047/0.4108, allocations: 107.7 kB / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4111, allocations: 35.95 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4111, allocations: 0 / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.4111, allocations: 27.98 kB / 1.32 GB, free: 4.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4114, allocations: 5.25 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.4118, allocations: 122.8 kB / 1.32 GB, free: 4.836 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4121, allocations: 0.6768 MB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.4122, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.4122, allocations: 11.44 kB / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.4122, allocations: 0 / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of Templates: time 0.003664/0.4159, allocations: 0.6242 MB / 1.322 GB, free: 3.5 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.973831516690552]