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.001768/0.001768, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002606/0.002606, allocations: 216.4 kB / 22.24 MB, free: 5.242 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.816 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.275/3.275, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",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.002958/0.002958, allocations: 67.92 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4263, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002956/0.4292, allocations: 1.45 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.4298, allocations: 267.4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.4298, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.4299, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.4299, allocations: 3.938 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.4302, allocations: 63.73 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.4303, allocations: 23.86 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.4304, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.4304, allocations: 11.98 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.4305, allocations: 15.92 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.4305, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.4307, allocations: 79.8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.4307, allocations: 4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.4307, allocations: 11.92 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.4309, allocations: 67.8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4309, allocations: 4 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4309, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4309, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 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.0004621/0.4314, allocations: 270.2 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4314, allocations: 12.03 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.4314, allocations: 30.75 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.4314, allocations: 4.875 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4316, allocations: 110.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4316, allocations: 4.359 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.4316, allocations: 384 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4317, allocations: 50.25 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.4317, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.4317, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.4318, allocations: 3.984 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4319, allocations: 31.97 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.4322, allocations: 212.1 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4324, allocations: 42.44 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.4325, allocations: 28.91 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4325, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4325, allocations: 34.55 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4325, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.4328, allocations: 85.55 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.4329, allocations: 55.34 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.433, allocations: 106 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.433, allocations: 29.7 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.433, allocations: 84.08 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.4331, allocations: 3.953 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.4331, allocations: 21.7 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4332, allocations: 310.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.4333, allocations: 11.98 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.4334, allocations: 19.98 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4335, allocations: 44.88 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4335, allocations: 3.938 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.4337, allocations: 61.61 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4338, allocations: 8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.4338, allocations: 3.984 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4338, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.4339, allocations: 8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4339, allocations: 4.031 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.4339, allocations: 7.984 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4339, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 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.908e-05/0.434, allocations: 117.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.434, allocations: 3.938 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.4343, allocations: 68.97 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4343, allocations: 0 / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4343, allocations: 3.984 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4343, allocations: 4.219 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4344, allocations: 128.7 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4345, allocations: 11.92 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.4345, allocations: 7.984 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4345, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4345, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4345, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.4345, allocations: 4 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.4348, allocations: 167.5 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.4348, allocations: 0 / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4348, allocations: 3.984 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.4349, allocations: 4 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.4349, allocations: 7.938 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4349, allocations: 7.984 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.435, allocations: 79.28 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.435, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002338/0.4352, allocations: 11.94 kB / 1.368 GB, free: 9.496 MB / 1.061 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.0006744/0.4359, allocations: 0.7162 MB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4361, allocations: 31.97 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4361, allocations: 0 / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.4362, allocations: 27.91 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.4365, allocations: 6.5 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.437, allocations: 151 kB / 1.368 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.39e-05/0.437, allocations: 63.34 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.437, allocations: 0 / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4371, allocations: 11.44 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4371, allocations: 0 / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.4662, allocations: 1.999 MB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.63, allocations: 12.56 kB / 1.37 GB, free: 6.539 MB / 1.061 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.61582310590893]