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.001324/0.001324, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001487/0.001487, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.487/3.487, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002271/0.002271, allocations: 65.05 kB / 1.172 GB, free: 17.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 180.2 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002903/0.3459, allocations: 1.439 MB / 1.349 GB, free: 8.668 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006193/0.3465, allocations: 291.4 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.3465, allocations: 0 / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.3466, allocations: 7.984 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3466, allocations: 3.938 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.347, allocations: 55.75 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.347, allocations: 23.92 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.3471, allocations: 7.984 kB / 1.35 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.3472, allocations: 15.92 kB / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.3472, allocations: 4 kB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3472, allocations: 0 / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3474, allocations: 91.78 kB / 1.35 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3474, allocations: 11.98 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.3475, allocations: 11.94 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3476, allocations: 68.02 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3477, allocations: 0 / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3477, allocations: 0 / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3477, allocations: 0 / 1.35 GB, free: 8.086 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.0005007/0.3482, allocations: 351.3 kB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3482, allocations: 15.98 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.3482, allocations: 30.75 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.3483, allocations: 4.891 kB / 1.35 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3484, allocations: 168.3 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3484, allocations: 8.375 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.3484, allocations: 384 / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3486, allocations: 54.22 kB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3486, allocations: 3.938 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3486, allocations: 0 / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3486, allocations: 0 / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3488, allocations: 39.95 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3492, allocations: 244.9 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3493, allocations: 50.36 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.3494, allocations: 16.91 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3494, allocations: 0 / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3494, allocations: 42.56 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3494, allocations: 0 / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.3498, allocations: 77.58 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3498, allocations: 55.41 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.3499, allocations: 101.8 kB / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.35, allocations: 29.83 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.35, allocations: 84.09 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.35, allocations: 15.88 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3501, allocations: 13.72 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3502, allocations: 310.8 kB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.3503, allocations: 23.97 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.3504, allocations: 11.98 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3505, allocations: 40.89 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3505, allocations: 3.938 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.3507, allocations: 69.59 kB / 1.351 GB, free: 6.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3507, allocations: 10.19 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3507, allocations: 0 / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3508, allocations: 0 / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.3508, allocations: 12.02 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3508, allocations: 0 / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.3509, allocations: 4 kB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3509, allocations: 4 kB / 1.352 GB, free: 5.992 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 8.393e-05/0.351, allocations: 113.8 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.351, allocations: 0 / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3513, allocations: 76.78 kB / 1.352 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3513, allocations: 3.938 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3513, allocations: 0 / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3513, allocations: 0 / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3514, allocations: 157.6 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3514, allocations: 3.984 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.3515, allocations: 8 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3515, allocations: 0 / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.3515, allocations: 4 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3515, allocations: 7.875 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3515, allocations: 4.031 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3518, allocations: 167.4 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3518, allocations: 81.09 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3518, allocations: 4 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.3519, allocations: 4 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3519, allocations: 8.016 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3519, allocations: 0 / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.352, allocations: 83.47 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.352, allocations: 3.938 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.3522, allocations: 11.94 kB / 1.352 GB, free: 5.16 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.0006439/0.3529, allocations: 0.7047 MB / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3531, allocations: 31.97 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3531, allocations: 4 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.3532, allocations: 19.91 kB / 1.353 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3535, allocations: 12.16 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.3539, allocations: 148.1 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3542, allocations: 0.6768 MB / 1.354 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.3543, allocations: 7.984 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3543, allocations: 7.438 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3543, allocations: 0 / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3786, allocations: 1.5 MB / 1.355 GB, free: 2.102 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.372, allocations: 3.938 kB / 1.355 GB, free: 2.098 MB / 1.045 GB " [Timeout remaining time 292] (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: 15.526824260130525]