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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007081/0.007081, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001836/0.001837, allocations: 197.7 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 71.88 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.294, allocations: 162.3 MB / 1.242 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002618/0.2966, allocations: 1.412 MB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.2972, allocations: 279.1 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2973, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.2973, allocations: 3.938 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.2974, allocations: 7.922 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2977, allocations: 55.73 kB / 1.244 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.2978, allocations: 19.94 kB / 1.244 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2979, allocations: 11.98 kB / 1.244 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.2979, allocations: 8 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.298, allocations: 15.92 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.298, allocations: 4 kB / 1.244 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.2982, allocations: 91.83 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.2982, allocations: 4 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2982, allocations: 7.938 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2984, allocations: 75.72 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2984, allocations: 3.938 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2984, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2984, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 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.0004485/0.2989, allocations: 355.3 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2989, allocations: 12.03 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.299, allocations: 30.75 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.133e-05/0.299, allocations: 4.891 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2991, allocations: 164.4 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.2991, allocations: 4.375 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2992, allocations: 384 / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2993, allocations: 50.25 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2993, allocations: 3.938 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2994, allocations: 3.984 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2994, allocations: 0 / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2995, allocations: 35.91 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.2999, allocations: 245 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3, allocations: 42.5 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.3001, allocations: 20.91 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3001, allocations: 7.938 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3002, allocations: 30.56 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3002, allocations: 3.938 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.3005, allocations: 85.64 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3006, allocations: 51.41 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.3006, allocations: 101.8 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3007, allocations: 29.7 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.3007, allocations: 84.09 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.3007, allocations: 4 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.3008, allocations: 9.719 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3009, allocations: 323 kB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.301, allocations: 15.98 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.3011, allocations: 15.98 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3013, allocations: 48.75 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.3013, allocations: 3.938 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.3015, allocations: 69.69 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3015, allocations: 5.562 kB / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3015, allocations: 0 / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.3015, allocations: 0 / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.3016, allocations: 11.98 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3016, allocations: 3.984 kB / 1.246 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.3017, allocations: 11.98 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.3017, allocations: 4.031 kB / 1.246 GB, free: 5.828 MB / 0.9981 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.63e-05/0.3018, allocations: 113.8 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.3018, allocations: 7.938 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.3021, allocations: 68.72 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3021, allocations: 0 / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3021, allocations: 0 / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3021, allocations: 0 / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.3023, allocations: 165.6 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3023, allocations: 4 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.3023, allocations: 7.984 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3023, allocations: 0 / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3024, allocations: 4 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3024, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3024, allocations: 4 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3026, allocations: 167.3 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.3027, allocations: 89 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3027, allocations: 0 / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.3028, allocations: 7.984 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3028, allocations: 4 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.3028, allocations: 0 / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.3029, allocations: 79.28 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3029, allocations: 0 / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002323/0.3031, allocations: 16.03 kB / 1.246 GB, free: 5.004 MB / 0.9981 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.0006087/0.3037, allocations: 0.7051 MB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.304, allocations: 43.92 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.304, allocations: 0 / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.3041, allocations: 19.98 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.3043, allocations: 0 / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.3048, allocations: 152.1 kB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.305, allocations: 0.6769 MB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.3051, allocations: 7.938 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3051, allocations: 15.36 kB / 1.248 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3051, allocations: 0 / 1.248 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/0.4572, allocations: 1.492 MB / 1.249 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.208, allocations: 6.359 kB / 1.249 GB, free: 1.934 MB / 0.9981 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=400 --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