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.0008199/0.0008199, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008074/0.0008074, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8866/0.8866, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.769/1.769, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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.483e-06/1.483e-06, allocations: 0 / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000105/0.0001065, allocations: 4.953 kB / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002027/0.002134, allocations: 1.428 MB / 0.9823 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.002583, allocations: 263.1 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.002611, allocations: 0 / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.00264, allocations: 3.984 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.002689, allocations: 3.984 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.00295, allocations: 59.69 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.003017, allocations: 35.86 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.003097, allocations: 0 / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.003143, allocations: 11.98 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.003182, allocations: 7.984 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003195, allocations: 4 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.003329, allocations: 87.78 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.003341, allocations: 0 / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.003357, allocations: 4 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003488, allocations: 75.72 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.003492, allocations: 4 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003493, allocations: 4 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003496, allocations: 3.938 kB / 0.9829 GB, free: 0.5859 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.000324/0.00382, allocations: 274.2 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.003854, allocations: 8.031 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.003882, allocations: 34.75 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.003901, allocations: 0.9375 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.003974, allocations: 105.8 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.003985, allocations: 12.31 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.003992, allocations: 4.375 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.004109, allocations: 54.23 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004116, allocations: 192 / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.004124, allocations: 384 / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004129, allocations: 4.125 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.004228, allocations: 36 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.004486, allocations: 212 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.00456, allocations: 34.55 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.004606, allocations: 24.91 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.004622, allocations: 4 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.004642, allocations: 34.5 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.004643, allocations: 0 / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002099/0.004853, allocations: 89.53 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.004886, allocations: 51.41 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.004939, allocations: 101.8 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004948, allocations: 29.83 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.004979, allocations: 84.14 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.004994, allocations: 7.891 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.005019, allocations: 17.72 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.005091, allocations: 310.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.005132, allocations: 19.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.005167, allocations: 15.98 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.005242, allocations: 40.83 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005245, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.005349, allocations: 73.53 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005363, allocations: 4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.005368, allocations: 0 / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.005379, allocations: 4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.005438, allocations: 7.984 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.005443, allocations: 0 / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.005465, allocations: 12.03 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.00547, allocations: 3.984 kB / 0.9845 GB, free: 14.71 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 5.184e-05/0.005522, allocations: 109.8 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.005535, allocations: 3.938 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.005662, allocations: 76.91 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005663, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005667, allocations: 3.938 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005669, allocations: 4.031 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.005767, allocations: 128.7 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005768, allocations: 0 / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.005797, allocations: 11.98 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0058, allocations: 3.938 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005804, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005805, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.005806, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.005923, allocations: 155.5 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.005929, allocations: 12.16 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.00594, allocations: 4 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.005978, allocations: 11.97 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.00601, allocations: 7.938 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.006012, allocations: 0 / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.006035, allocations: 79.28 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006035, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001673/0.006202, allocations: 19.92 kB / 0.9851 GB, free: 14.02 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.0003433/0.006545, allocations: 0.7007 MB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.006667, allocations: 39.89 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006668, allocations: 0 / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.006708, allocations: 23.92 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.006915, allocations: 7.938 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.007248, allocations: 146.6 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.00729, allocations: 55.36 kB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.007308, allocations: 3.984 kB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.007338, allocations: 16.5 kB / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.007339, allocations: 0 / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.02298, allocations: 2.146 MB / 0.9882 GB, free: 10.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.019, allocations: 7.094 kB / 0.9882 GB, free: 10.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 11.08268584124744]