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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7346 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.38 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2641, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002552/0.2667, allocations: 1.417 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004958/0.2672, allocations: 291.1 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.2673, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.2673, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.2674, allocations: 7.875 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2677, allocations: 55.75 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.2678, allocations: 23.91 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.2679, allocations: 8 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2679, allocations: 11.92 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.268, allocations: 15.94 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.268, allocations: 0 / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2682, allocations: 87.84 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.2682, allocations: 8 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.2682, allocations: 11.92 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.2684, allocations: 68.08 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2684, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2684, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2684, allocations: 0 / 1.055 GB, free: 6.211 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.0004163/0.2688, allocations: 347.5 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2689, allocations: 12.62 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.2689, allocations: 34.73 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.269, allocations: 4.844 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2691, allocations: 164.3 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2691, allocations: 4.375 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.2691, allocations: 384 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2693, allocations: 50.23 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2693, allocations: 3.938 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2693, allocations: 4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2693, allocations: 0 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2695, allocations: 39.94 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.2698, allocations: 248.9 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2699, allocations: 38.5 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.27, allocations: 24.89 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.27, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2701, allocations: 34.56 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2701, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.2704, allocations: 89.67 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2705, allocations: 55.34 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.2705, allocations: 97.86 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2705, allocations: 25.7 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2706, allocations: 88.03 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2706, allocations: 7.984 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2706, allocations: 13.72 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.2707, allocations: 310.8 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.2708, allocations: 24.02 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.2709, allocations: 15.97 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.271, allocations: 40.77 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.271, allocations: 3.938 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2712, allocations: 73.56 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2713, allocations: 8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2713, allocations: 0 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2713, allocations: 0 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.2714, allocations: 8 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2714, allocations: 7.984 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.2714, allocations: 4 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2714, allocations: 4 kB / 1.057 GB, free: 4.125 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 5.796e-05/0.2715, allocations: 113.8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.2715, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.2718, allocations: 80.7 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2718, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2718, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2718, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.2719, allocations: 157.6 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2719, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.272, allocations: 16.02 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.272, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.272, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.272, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.272, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.2722, allocations: 159.5 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.2723, allocations: 96.98 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2723, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.2724, allocations: 7.984 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.2724, allocations: 3.938 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2724, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.2725, allocations: 87.2 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2725, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002288/0.2727, allocations: 12 kB / 1.057 GB, free: 3.309 MB / 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.0004719/0.2732, allocations: 0.7046 MB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2734, allocations: 44 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2734, allocations: 4.062 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.2735, allocations: 23.86 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2738, allocations: 3.984 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.2741, allocations: 144.4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2743, allocations: 0.6768 MB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.2744, allocations: 4.062 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.2744, allocations: 7.438 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2744, allocations: 4 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.279/3.553, allocations: 1.459 MB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/12.48, allocations: 3.625 kB / 1.06 GB, free: 268 kB / 0.8106 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