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.001162/0.001162, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00136/0.00136, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8947/0.8947, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.512e-05, allocations: 13.03 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002039/0.002064, allocations: 1.424 MB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004738/0.002538, allocations: 267.9 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.002571, allocations: 3.938 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.002603, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.002654, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.002964, allocations: 59.69 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.003037, allocations: 27.91 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.003128, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.003179, allocations: 19.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.003221, allocations: 11.98 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.003234, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.003372, allocations: 79.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.003386, allocations: 4 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.003406, allocations: 7.969 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003554, allocations: 67.8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003556, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003557, allocations: 7.938 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.003562, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 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.0003464/0.003908, allocations: 274.2 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.003947, allocations: 8.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.003975, allocations: 30.75 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.003997, allocations: 8.938 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.004074, allocations: 109.7 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004084, allocations: 4.375 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.004091, allocations: 384 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.00422, allocations: 54.17 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.004228, allocations: 192 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-06/0.004235, allocations: 384 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004241, allocations: 8.125 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.004333, allocations: 39.94 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.004606, allocations: 216.1 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.004689, allocations: 38.5 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.004733, allocations: 16.91 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.004751, allocations: 4 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.004772, allocations: 38.5 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004773, allocations: 4 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000214/0.004987, allocations: 77.64 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.005015, allocations: 51.41 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.005071, allocations: 101.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005081, allocations: 29.64 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.005115, allocations: 84.14 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.005131, allocations: 11.89 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.005156, allocations: 21.78 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.005233, allocations: 314.8 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.00528, allocations: 15.98 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.005316, allocations: 15.98 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.005396, allocations: 32.83 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.0054, allocations: 3.984 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001052/0.005505, allocations: 73.67 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005517, allocations: 4 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005522, allocations: 3.938 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005534, allocations: 4 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.005595, allocations: 11.92 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.005599, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.005626, allocations: 11.94 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.00563, allocations: 0 / 1.003 GB, free: 9.676 MB / 0.9636 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 5.437e-05/0.005684, allocations: 113.9 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.005697, allocations: 3.938 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.005832, allocations: 72.97 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005834, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.005839, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005841, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.005942, allocations: 124.8 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005943, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.005971, allocations: 16.02 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005974, allocations: 3.938 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.00598, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005981, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005981, allocations: 3.938 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.006104, allocations: 155.5 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006112, allocations: 7.938 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006122, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.006161, allocations: 12.02 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.006191, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.006193, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.006221, allocations: 83.27 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006221, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001747/0.006396, allocations: 15.94 kB / 1.004 GB, free: 8.992 MB / 0.9636 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.0004194/0.006815, allocations: 0.7084 MB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.006955, allocations: 43.94 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006957, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.007, allocations: 19.98 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.007255, allocations: 16.41 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.00765, allocations: 140.8 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.007703, allocations: 71.41 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.007725, allocations: 0 / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.007761, allocations: 12.5 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/0.007762, allocations: 0 / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.02798, allocations: 2.148 MB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.022, allocations: 7.25 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.254150745458901]