Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_11_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.005087/0.005087, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001318/0.001318, allocations: 195 kB / 16.68 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.91/2.91, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2825, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002393/0.2849, allocations: 1.41 MB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.2855, allocations: 294.9 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.2855, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.2856, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.2856, allocations: 7.922 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.2859, allocations: 55.75 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.286, allocations: 23.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.286, allocations: 8 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.2861, allocations: 7.938 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.2861, allocations: 15.97 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.2862, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2864, allocations: 95.78 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2864, allocations: 4 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.2864, allocations: 11.92 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2866, allocations: 67.8 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2866, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2866, allocations: 4 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2866, allocations: 0 / 1.222 GB, free: 12.3 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.0004362/0.287, allocations: 349.5 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2871, allocations: 12.03 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.2871, allocations: 30.75 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.2871, allocations: 8.891 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2873, allocations: 168.3 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2873, allocations: 4.375 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.2873, allocations: 384 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2875, allocations: 54.23 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2875, allocations: 3.938 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.2875, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2875, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2877, allocations: 31.97 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.288, allocations: 245 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2881, allocations: 46.44 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.2882, allocations: 24.84 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2883, allocations: 3.984 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2883, allocations: 34.56 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2883, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.2887, allocations: 85.59 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2887, allocations: 59.34 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.2888, allocations: 97.86 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2888, allocations: 25.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.2889, allocations: 84.08 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2889, allocations: 11.94 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2889, allocations: 17.84 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.289, allocations: 310.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.2891, allocations: 15.98 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.2892, allocations: 15.98 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2894, allocations: 44.88 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2894, allocations: 3.938 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.2896, allocations: 65.59 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2896, allocations: 10.03 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2897, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2897, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.2897, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2898, allocations: 4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.2898, allocations: 16.02 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2898, allocations: 0 / 1.224 GB, free: 10.22 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 7.594e-05/0.2899, allocations: 113.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.2899, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.2902, allocations: 72.77 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2902, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2902, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2902, allocations: 4.031 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2904, allocations: 161.8 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2904, allocations: 3.938 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.2905, allocations: 11.98 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2905, allocations: 3.984 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2905, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2905, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2905, allocations: 7.938 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.2907, allocations: 167.4 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2908, allocations: 85.05 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2908, allocations: 0 / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.2909, allocations: 11.98 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.2909, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.2909, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.291, allocations: 83.27 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.291, allocations: 4.031 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002291/0.2912, allocations: 11.94 kB / 1.225 GB, free: 9.398 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.0005899/0.2918, allocations: 0.7128 MB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.292, allocations: 35.97 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2921, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.2922, allocations: 23.92 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2924, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.2928, allocations: 160.2 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2931, allocations: 0.6768 MB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.2932, allocations: 4 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.2932, allocations: 7.438 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2932, allocations: 0 / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.314, allocations: 1.481 MB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.129, allocations: 10.12 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches