Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.38 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 64.08 kB / 1.107 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7713, allocations: 168.7 MB / 1.271 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002006/0.7733, allocations: 1.428 MB / 1.273 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.774, allocations: 0.6129 MB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.7741, allocations: 0 / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.7741, allocations: 5.172 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.7741, allocations: 5.391 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.7744, allocations: 99.58 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.7745, allocations: 21.2 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.165e-05/0.7746, allocations: 16.3 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.7746, allocations: 4.453 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.7746, allocations: 15.14 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.7746, allocations: 5.469 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.7749, allocations: 149.4 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.7749, allocations: 0.6562 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.7749, allocations: 12.34 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.7751, allocations: 106.7 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7751, allocations: 4.781 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7751, allocations: 0 / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7751, allocations: 0 / 1.274 GB, free: 6.234 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.000329/0.7755, allocations: 359.3 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.7755, allocations: 10.19 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.895e-05/0.7755, allocations: 34.75 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.7759, allocations: 32.16 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.242e-05/0.776, allocations: 163.3 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.776, allocations: 1.25 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.776, allocations: 1.25 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.7762, allocations: 72.94 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7762, allocations: 3.938 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.7762, allocations: 0 / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.7762, allocations: 4.75 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.7764, allocations: 50.23 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.7768, allocations: 272 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.777, allocations: 66.91 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.7771, allocations: 30.42 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.7771, allocations: 0.8125 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.7771, allocations: 36.42 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.7771, allocations: 0 / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004504/0.7776, allocations: 107.8 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.7776, allocations: 52.38 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.319e-05/0.7776, allocations: 106.3 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.7776, allocations: 26.55 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.7776, allocations: 85.27 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.7777, allocations: 16.84 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.7777, allocations: 15.69 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.064e-05/0.7777, allocations: 316.2 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.7778, allocations: 26.16 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.778, allocations: 33.09 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.7782, allocations: 54.16 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7782, allocations: 4.812 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002723/0.7785, allocations: 89 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.7785, allocations: 5.125 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7785, allocations: 0.9375 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.7785, allocations: 0 / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7786, allocations: 21.52 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.7786, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.7787, allocations: 12.25 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.7787, allocations: 2.422 kB / 1.276 GB, free: 4.414 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 4.037e-05/0.7787, allocations: 116.7 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.7788, allocations: 4.797 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.7788, allocations: 4.406 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7788, allocations: 3.625 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7788, allocations: 4 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.7788, allocations: 0.875 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7789, allocations: 165.8 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7789, allocations: 6.906 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.779, allocations: 12.44 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.779, allocations: 0 / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.779, allocations: 2.828 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.779, allocations: 4.844 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.779, allocations: 0 / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.7793, allocations: 191 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.7793, allocations: 78.73 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.7794, allocations: 2.703 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7795, allocations: 11.89 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.7795, allocations: 1.562 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.7795, allocations: 2.688 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.7795, allocations: 79 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7795, allocations: 0.7812 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002186/0.7797, allocations: 18.47 kB / 1.276 GB, free: 3.742 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.0004575/0.7802, allocations: 0.7296 MB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.7805, allocations: 62.22 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7805, allocations: 0.75 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.7806, allocations: 28.22 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.7809, allocations: 4.719 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.7813, allocations: 174.1 kB / 1.277 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.7814, allocations: 0.6795 MB / 1.278 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.7814, allocations: 13.02 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.7815, allocations: 15.72 kB / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7815, allocations: 0 / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.803, allocations: 1.637 MB / 1.28 GB, free: 17.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.68, allocations: 11.38 kB / 1.28 GB, free: 17.79 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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: 12.86589717699826]