Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007958/0.0007958, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008381/0.0008381, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.641e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001635/0.001652, allocations: 1.432 MB / 0.9823 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.002053, allocations: 263.1 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.002077, allocations: 0 / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.002105, allocations: 0 / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.002154, allocations: 7.922 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.00244, allocations: 59.69 kB / 0.9827 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.002508, allocations: 31.86 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.0026, allocations: 4 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.002649, allocations: 15.97 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.002692, allocations: 11.98 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.002705, allocations: 4 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.002848, allocations: 79.8 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.002863, allocations: 4 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.002879, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.003025, allocations: 75.72 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003027, allocations: 0 / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003027, allocations: 4 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.003031, allocations: 4 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 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.0003497/0.003381, allocations: 274.2 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.003421, allocations: 12.02 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.003452, allocations: 34.75 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.003472, allocations: 4.938 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.003545, allocations: 101.8 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003555, allocations: 4.375 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.003563, allocations: 8.312 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.003683, allocations: 50.23 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003691, allocations: 4.188 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.003698, allocations: 384 / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.003704, allocations: 4.125 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.003793, allocations: 43.88 kB / 0.9834 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.004186, allocations: 208.1 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.004261, allocations: 38.55 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.004303, allocations: 20.91 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.00432, allocations: 4 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.004338, allocations: 38.5 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.004339, allocations: 0 / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.004542, allocations: 85.53 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.004568, allocations: 51.41 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.004619, allocations: 101.8 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.004628, allocations: 25.7 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.004666, allocations: 92.27 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.00468, allocations: 3.953 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.004702, allocations: 13.72 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.004768, allocations: 310.8 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/0.004807, allocations: 23.91 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.004841, allocations: 15.98 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.361e-05/0.004915, allocations: 44.83 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004916, allocations: 0 / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.697e-05/0.005013, allocations: 69.59 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005024, allocations: 4 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005029, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005039, allocations: 4 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.005094, allocations: 7.984 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005098, allocations: 0 / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.00512, allocations: 11.97 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.005124, allocations: 0 / 0.9845 GB, free: 14.74 MB / 0.948 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 4.877e-05/0.005173, allocations: 113.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.005184, allocations: 3.938 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.005306, allocations: 76.91 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005307, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005311, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.005315, allocations: 3.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.708e-05/0.005412, allocations: 136.7 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005413, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.005436, allocations: 11.98 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.005439, allocations: 3.938 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005444, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005445, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005446, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.005559, allocations: 155.5 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.005571, allocations: 19.91 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.005583, allocations: 4 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.005619, allocations: 7.984 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.005648, allocations: 0 / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.00565, allocations: 0 / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.005672, allocations: 79.28 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005672, allocations: 0 / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001555/0.005828, allocations: 16 kB / 0.9851 GB, free: 14.05 MB / 0.948 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.000333/0.006161, allocations: 0.7045 MB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.00628, allocations: 43.83 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006281, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.00632, allocations: 19.98 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.006509, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.006815, allocations: 150.5 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.006851, allocations: 55.36 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.556e-05/0.006867, allocations: 0 / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.006893, allocations: 16.48 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.006894, allocations: 0 / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.02073, allocations: 2.144 MB / 0.9882 GB, free: 10.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.772, allocations: 11.67 kB / 0.9882 GB, free: 10.96 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.937733058817685]