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.001784/0.001784, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002192/0.002192, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.961 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.291/3.291, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002426/0.002426, allocations: 67.77 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3503, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002809/0.3532, allocations: 1.442 MB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005765/0.3537, allocations: 287.4 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3538, allocations: 0 / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.3538, allocations: 7.938 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.3538, allocations: 7.875 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3541, allocations: 59.72 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.3542, allocations: 19.94 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.3543, allocations: 7.984 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.3543, allocations: 15.94 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.3544, allocations: 7.984 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3544, allocations: 4 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3546, allocations: 91.78 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3546, allocations: 4 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.3546, allocations: 15.92 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3548, allocations: 63.73 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3548, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3548, allocations: 0 / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3548, allocations: 4 kB / 1.355 GB, free: 6.406 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.0005275/0.3553, allocations: 274.2 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3554, allocations: 8.031 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.3554, allocations: 30.75 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3554, allocations: 8.891 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3556, allocations: 106.5 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3556, allocations: 4.359 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3556, allocations: 8.312 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3558, allocations: 50.23 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3558, allocations: 7.938 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3558, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3558, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.356, allocations: 35.95 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3564, allocations: 216 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3565, allocations: 54.36 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.3566, allocations: 20.91 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3566, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3567, allocations: 30.56 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3567, allocations: 4 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004032/0.3571, allocations: 77.73 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3571, allocations: 55.41 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3572, allocations: 105.8 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3573, allocations: 25.7 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3573, allocations: 92.03 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3573, allocations: 3.953 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3574, allocations: 13.72 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3575, allocations: 314.9 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.3576, allocations: 19.97 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.3577, allocations: 19.92 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3579, allocations: 36.83 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3579, allocations: 7.938 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.3581, allocations: 65.72 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3581, allocations: 8 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3581, allocations: 3.938 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3581, allocations: 0 / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.3582, allocations: 7.984 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3582, allocations: 0 / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3583, allocations: 11.98 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3583, allocations: 4 kB / 1.356 GB, free: 4.512 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 0.0001058/0.3584, allocations: 125.7 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3584, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3586, allocations: 72.97 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3586, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3586, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3586, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3588, allocations: 132.7 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3588, allocations: 32 / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3589, allocations: 15.94 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3589, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3589, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3589, allocations: 3.938 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3589, allocations: 3.984 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3592, allocations: 167.4 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.3592, allocations: 7.984 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3592, allocations: 0 / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.3593, allocations: 4 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.3593, allocations: 4.172 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3593, allocations: 0 / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.443e-05/0.3594, allocations: 87.27 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3594, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002548/0.3596, allocations: 11.94 kB / 1.357 GB, free: 3.816 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.0007049/0.3603, allocations: 0.7123 MB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3606, allocations: 36 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3606, allocations: 3.938 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.3607, allocations: 27.91 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.361, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3614, allocations: 148.5 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3617, allocations: 0.6768 MB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.3618, allocations: 4.125 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.3618, allocations: 11.44 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3618, allocations: 0 / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.39, allocations: 1.579 MB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.04, allocations: 12.28 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.176608368000416]