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.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.001356/0.001356, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.00165/0.00165, allocations: 217 kB / 23.04 MB, free: 5.074 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.351/3.351, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="cs",version="2.0",platforms={"static"}) [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.001995/0.001995, allocations: 66.66 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3841, allocations: 179 MB / 1.345 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002578/0.3867, allocations: 1.446 MB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005735/0.3873, allocations: 291.3 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3873, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3873, allocations: 3.984 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.3874, allocations: 3.938 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3877, allocations: 59.75 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.3877, allocations: 23.92 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.3878, allocations: 7.984 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.3878, allocations: 15.92 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.3879, allocations: 8 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.3879, allocations: 0 / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3881, allocations: 91.78 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.3881, allocations: 11.92 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.3881, allocations: 4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3883, allocations: 75.67 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3883, allocations: 4 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3883, allocations: 0 / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.3883, allocations: 0 / 1.347 GB, free: 14.49 MB / 1.045 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.0004105/0.3887, allocations: 271.8 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3887, allocations: 12.03 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.3888, allocations: 192 / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.3888, allocations: 34.73 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.3888, allocations: 4.891 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.3889, allocations: 110.5 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.3889, allocations: 4.375 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3889, allocations: 4.375 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3891, allocations: 49.98 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3891, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3891, allocations: 7.938 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3891, allocations: 0 / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3893, allocations: 31.97 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3896, allocations: 224 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3897, allocations: 38.5 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.3898, allocations: 24.89 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3898, allocations: 3.984 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3898, allocations: 34.56 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3898, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.3902, allocations: 81.59 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3902, allocations: 55.39 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.3903, allocations: 97.86 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3903, allocations: 25.7 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.3904, allocations: 96.16 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3904, allocations: 11.94 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.3904, allocations: 13.7 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3906, allocations: 314.8 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.3907, allocations: 15.98 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.3907, allocations: 11.98 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3909, allocations: 52.81 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3909, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.3911, allocations: 69.61 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3911, allocations: 10.02 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3911, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.3911, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.3912, allocations: 12.03 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3912, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.3913, allocations: 7.984 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3913, allocations: 3.938 kB / 1.349 GB, free: 12.6 MB / 1.045 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 7.562e-05/0.3913, allocations: 113.7 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3914, allocations: 4 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3916, allocations: 76.95 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3916, allocations: 3.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3916, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.3916, allocations: 4 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.3918, allocations: 128.7 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3918, allocations: 3.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.3918, allocations: 11.98 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3918, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.3918, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3918, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3918, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3921, allocations: 171.4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.3921, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.3921, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.3922, allocations: 7.984 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.3922, allocations: 4 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3922, allocations: 4.031 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.3923, allocations: 87.27 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3923, allocations: 3.938 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002398/0.3925, allocations: 11.94 kB / 1.35 GB, free: 11.89 MB / 1.045 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.0006069/0.3931, allocations: 0.7007 MB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3933, allocations: 39.95 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3933, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.3934, allocations: 15.92 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3937, allocations: 8 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.3941, allocations: 160.6 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3945, allocations: 0.6805 MB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.3945, allocations: 3.938 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.3945, allocations: 7.438 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3945, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.4155, allocations: 1.612 MB / 1.353 GB, free: 8.719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.34, allocations: 8.031 kB / 1.353 GB, free: 8.715 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/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: 18.44196580303833]