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.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.001731/0.001731, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002093/0.002093, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 66.72 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3405, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002791/0.3432, allocations: 1.444 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005962/0.3438, allocations: 287.1 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3439, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.3439, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.3439, allocations: 3.938 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.3442, allocations: 63.73 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.3443, allocations: 23.86 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.3444, allocations: 8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.3444, allocations: 8 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.3445, allocations: 15.91 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.3445, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.3447, allocations: 95.78 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.3447, allocations: 8 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.3447, allocations: 11.92 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3449, allocations: 71.25 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3449, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3449, allocations: 0 / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3449, allocations: 0 / 1.285 GB, free: 9.711 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.0004744/0.3454, allocations: 270.2 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3454, allocations: 12.03 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.3455, allocations: 30.75 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.3455, allocations: 0.9375 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3456, allocations: 118.5 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3456, allocations: 384 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3457, allocations: 4.375 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3459, allocations: 54.17 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3459, allocations: 3.938 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3459, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3459, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3461, allocations: 31.97 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.3465, allocations: 224 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.3466, allocations: 38.5 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.3467, allocations: 28.84 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3468, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3468, allocations: 30.56 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3468, allocations: 4 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003915/0.3472, allocations: 81.64 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3472, allocations: 51.41 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.3473, allocations: 101.8 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3473, allocations: 25.7 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3474, allocations: 88.14 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3474, allocations: 8.078 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3475, allocations: 9.719 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3476, allocations: 322.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3477, allocations: 15.92 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.3478, allocations: 15.98 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.348, allocations: 44.88 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.348, allocations: 7.875 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.3482, allocations: 61.67 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3482, allocations: 6.344 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3482, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3482, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3483, allocations: 15.92 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.3484, allocations: 15.97 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3484, allocations: 3.938 kB / 1.287 GB, free: 7.824 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 0.0001017/0.3485, allocations: 113.8 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3485, allocations: 4 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.3487, allocations: 64.97 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3487, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3488, allocations: 4.031 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3488, allocations: 4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3489, allocations: 136.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3489, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.349, allocations: 7.984 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.349, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.349, allocations: 4 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.349, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.349, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3493, allocations: 171.4 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3493, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3494, allocations: 7.984 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3494, allocations: 4 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3494, allocations: 4 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.3495, allocations: 79.31 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3495, allocations: 4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002529/0.3498, allocations: 15.89 kB / 1.288 GB, free: 7.141 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.000728/0.3505, allocations: 0.718 MB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3507, allocations: 35.95 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3507, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.3508, allocations: 19.98 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3511, allocations: 3.938 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.3516, allocations: 156.6 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3519, allocations: 0.6729 MB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.3519, allocations: 7.938 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.352, allocations: 15.42 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.352, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3815, allocations: 1.58 MB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 6.031 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.280381686985493]