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.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.000828/0.000828, 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.0008707/0.0008707, 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.9027/0.9027, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.857/1.857, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.325e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002107/0.00214, allocations: 1.424 MB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.002592, allocations: 271.8 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.00262, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.00265, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.0027, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.002988, allocations: 63.67 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.003052, allocations: 19.88 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.003141, allocations: 11.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.003188, allocations: 11.98 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.00323, allocations: 7.984 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003245, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.003379, allocations: 79.8 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.003394, allocations: 11.98 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003412, allocations: 7.938 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003557, allocations: 67.84 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.003561, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.884e-06/0.003563, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003567, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 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.0003727/0.003939, allocations: 278.2 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.003988, allocations: 8.75 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.004023, allocations: 34.69 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.004047, allocations: 4.938 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/0.004141, allocations: 113.7 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004153, allocations: 384 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.004161, allocations: 4.375 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.004305, allocations: 50.23 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.004314, allocations: 192 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.004322, allocations: 384 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004328, allocations: 4.125 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.004418, allocations: 31.97 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.004723, allocations: 216 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.004812, allocations: 42.5 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.004863, allocations: 20.91 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.004885, allocations: 3.984 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.004911, allocations: 38.5 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.004912, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002345/0.005146, allocations: 89.67 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.005181, allocations: 51.41 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.005242, allocations: 93.86 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005254, allocations: 25.7 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.005293, allocations: 88.14 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.005312, allocations: 3.953 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.005338, allocations: 17.64 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.005423, allocations: 318.8 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.00547, allocations: 11.98 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.005506, allocations: 20.02 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.005585, allocations: 40.81 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005587, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.005691, allocations: 69.55 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.005706, allocations: 7.984 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.005713, allocations: 4.094 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.005725, allocations: 4 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.005789, allocations: 8 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.005797, allocations: 0 / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.005822, allocations: 11.92 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.005827, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 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.369e-05/0.00588, allocations: 113.8 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.005895, allocations: 8.078 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.00604, allocations: 80.94 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006042, allocations: 3.938 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006046, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006049, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.00615, allocations: 120.8 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.006153, allocations: 3.984 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.00618, allocations: 8 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.006183, allocations: 3.938 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.006189, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00619, allocations: 3.938 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006191, allocations: 4.031 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.00632, allocations: 159.5 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.006327, allocations: 7.938 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.006337, allocations: 3.984 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.006374, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.006409, allocations: 3.984 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.006412, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.006439, allocations: 83.28 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006439, allocations: 7.969 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001686/0.006608, allocations: 12 kB / 1.004 GB, free: 8.938 MB / 0.9636 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.0004505/0.007058, allocations: 0.7123 MB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.007201, allocations: 35.91 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.007203, allocations: 4.094 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.007247, allocations: 23.91 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.007519, allocations: 4 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.007911, allocations: 138.4 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.007959, allocations: 63.34 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.00798, allocations: 0 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.008011, allocations: 8.5 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of SimCode: time 6.32e-07/0.008012, allocations: 4.062 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.02649, allocations: 2.16 MB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.639, allocations: 8.062 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.866277073509991]