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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004663/0.004663, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001111/0.001111, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.77/2.77, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.12 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2775, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002432/0.28, allocations: 1.421 MB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.2805, allocations: 283 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.2806, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.2806, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.2807, allocations: 7.922 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.281, allocations: 59.73 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.2811, allocations: 23.92 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.2812, allocations: 4 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.2812, allocations: 4 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.2813, allocations: 15.92 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2813, allocations: 8 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2815, allocations: 91.84 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2815, allocations: 7.984 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.2815, allocations: 11.94 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.2817, allocations: 63.73 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2817, allocations: 0 / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2817, allocations: 0 / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2817, allocations: 0 / 1.222 GB, free: 12.69 MB / 0.9825 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.0004317/0.2822, allocations: 347.3 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2822, allocations: 16.03 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.2822, allocations: 30.75 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.2823, allocations: 4.891 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2824, allocations: 172.4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.2824, allocations: 384 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2824, allocations: 384 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.2826, allocations: 54.17 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2826, allocations: 3.938 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2826, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2826, allocations: 4 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2828, allocations: 31.97 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.2831, allocations: 249 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2832, allocations: 38.5 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.2833, allocations: 32.83 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2834, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2834, allocations: 30.56 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2834, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.2838, allocations: 85.59 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2838, allocations: 55.53 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.2839, allocations: 105.8 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2839, allocations: 25.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.2839, allocations: 84.14 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.284, allocations: 3.953 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.284, allocations: 13.72 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2841, allocations: 318.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.2842, allocations: 19.92 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.2843, allocations: 15.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2845, allocations: 40.81 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2845, allocations: 3.938 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.2847, allocations: 61.67 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2847, allocations: 9.812 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2847, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2848, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.2848, allocations: 15.98 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2849, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.2849, allocations: 11.98 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2849, allocations: 3.938 kB / 1.223 GB, free: 10.6 MB / 0.9825 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 6.955e-05/0.285, allocations: 110.3 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.285, allocations: 8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.2853, allocations: 68.78 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2853, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2854, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2854, allocations: 7.984 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2855, allocations: 157.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2856, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.2856, allocations: 11.98 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2856, allocations: 4.031 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2856, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2857, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2857, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2859, allocations: 171.3 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.286, allocations: 81.05 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.286, allocations: 7.969 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.2861, allocations: 7.984 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.2861, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2861, allocations: 4 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.2862, allocations: 79.22 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2862, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002437/0.2864, allocations: 16 kB / 1.224 GB, free: 9.781 MB / 0.9825 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.0005647/0.287, allocations: 0.7123 MB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.2872, allocations: 35.95 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2872, allocations: 0 / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.2873, allocations: 20.08 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2876, allocations: 9.875 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.288, allocations: 152 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2882, allocations: 0.6729 MB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.2882, allocations: 0 / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.2883, allocations: 13.55 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.2883, allocations: 4.062 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3058, allocations: 1.49 MB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.847, allocations: 8.875 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB (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 50 --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) 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) Reference file matches