Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005053/0.005053, allocations: 102.7 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 191.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 61.7 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2333, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00232/0.2357, allocations: 1.407 MB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005121/0.2362, allocations: 287.1 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.2363, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.2363, allocations: 3.938 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.2364, allocations: 7.922 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.2367, allocations: 51.75 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2367, allocations: 27.92 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.2368, allocations: 7.984 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.2369, allocations: 15.92 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.2369, allocations: 8 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.2369, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2371, allocations: 87.84 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2371, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2372, allocations: 15.92 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2374, allocations: 75.95 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2374, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2374, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2374, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 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.0004089/0.2378, allocations: 347.3 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2378, allocations: 15.97 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.2379, allocations: 34.75 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.2379, allocations: 4.922 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.238, allocations: 160.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.238, allocations: 4.375 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2381, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2382, allocations: 50.23 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2382, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.2383, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2383, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2384, allocations: 39.84 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.2387, allocations: 252.9 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2389, allocations: 38.5 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.239, allocations: 28.89 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.239, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.239, allocations: 34.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.239, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003457/0.2394, allocations: 81.58 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2394, allocations: 59.53 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.2395, allocations: 97.86 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2395, allocations: 25.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.2396, allocations: 80.14 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2396, allocations: 15.86 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.2396, allocations: 13.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2397, allocations: 314.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.2398, allocations: 15.98 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.2399, allocations: 19.98 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2401, allocations: 44.75 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2401, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.2403, allocations: 61.66 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2403, allocations: 12.09 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2403, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2403, allocations: 192 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.2404, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2405, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.2405, allocations: 3.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2405, allocations: 7.984 kB / 1.091 GB, free: 13.91 MB / 0.8575 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.217e-05/0.2406, allocations: 113.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2406, allocations: 7.953 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.2409, allocations: 80.64 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2409, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2409, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2409, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.2411, allocations: 157.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2411, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.2411, allocations: 15.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2411, allocations: 7.969 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2412, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2412, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2412, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.2414, allocations: 164.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2415, allocations: 81.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2415, allocations: 32 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.2416, allocations: 11.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.2416, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2416, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.2416, allocations: 83.27 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2417, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002392/0.2419, allocations: 11.94 kB / 1.092 GB, free: 13.09 MB / 0.8575 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.0005484/0.2425, allocations: 0.7085 MB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.2427, allocations: 39.91 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2427, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.2428, allocations: 24.08 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2431, allocations: 10.05 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.2435, allocations: 148.3 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2438, allocations: 0.6768 MB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2438, allocations: 4 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.2438, allocations: 7.438 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2439, allocations: 8 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.261, allocations: 1.472 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.585, allocations: 18 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches