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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009251/0.0009251, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005694/0.005694, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 12.62 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2898, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001509/0.2914, allocations: 1.139 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005434/0.2919, allocations: 291.1 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.292, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.292, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.2921, allocations: 7.984 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.2923, allocations: 51.75 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.2924, allocations: 23.94 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.2925, allocations: 7.969 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.2925, allocations: 7.938 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.2926, allocations: 11.98 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2926, allocations: 4 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2928, allocations: 91.78 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.2928, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2928, allocations: 41.64 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.293, allocations: 68.06 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.293, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.293, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.293, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 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.0003846/0.2934, allocations: 343.5 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2934, allocations: 11.97 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.2935, allocations: 34.75 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.2935, allocations: 0.9375 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2936, allocations: 176.2 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2936, allocations: 4.375 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.2937, allocations: 4.312 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2938, allocations: 58.22 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2938, allocations: 3.938 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2938, allocations: 8 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2939, allocations: 0 / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.294, allocations: 39.97 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.2943, allocations: 245 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.2945, allocations: 50.44 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2946, allocations: 24.91 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2946, allocations: 0 / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2946, allocations: 38.56 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2946, allocations: 3.938 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.295, allocations: 101.7 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.295, allocations: 51.41 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.2951, allocations: 101.8 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2951, allocations: 25.7 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.2951, allocations: 88.14 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.2951, allocations: 3.906 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2952, allocations: 9.719 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.2953, allocations: 314.8 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.2954, allocations: 28.02 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.2954, allocations: 15.98 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2956, allocations: 48.89 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2956, allocations: 7.922 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.2958, allocations: 85.61 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2958, allocations: 5.562 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2959, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.2959, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.2959, allocations: 11.98 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.296, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.296, allocations: 15.89 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.296, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 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.653e-05/0.2961, allocations: 113.8 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2961, allocations: 4 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.2964, allocations: 80.78 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2964, allocations: 4.031 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2964, allocations: 3.938 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2964, allocations: 3.938 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2965, allocations: 165.6 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2966, allocations: 4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.2966, allocations: 11.98 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2966, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2966, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2966, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2966, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2969, allocations: 175.5 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2969, allocations: 81.05 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2969, allocations: 11.97 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.297, allocations: 7.984 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2971, allocations: 0 / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2971, allocations: 4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.2971, allocations: 75.47 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2971, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002202/0.2973, allocations: 23.94 kB / 1.063 GB, free: 136 kB / 0.8106 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.0005286/0.2979, allocations: 0.7164 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2981, allocations: 51.98 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2981, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.96e-05/0.2982, allocations: 27.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.2984, allocations: 8 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.2988, allocations: 158.3 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.299, allocations: 0.6731 MB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.299, allocations: 3.984 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2991, allocations: 11.42 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2991, allocations: 4.062 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3202, allocations: 1.236 MB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/0.3204, allocations: 226.8 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.032, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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