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.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.0008458/0.0008458, 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.000899/0.000899, 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.8984/0.8984, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.333e-06/1.333e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.913e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001968/0.001988, allocations: 1.443 MB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007305/0.002718, allocations: 0.5498 MB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.002744, allocations: 0 / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.002769, allocations: 0 / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.00282, allocations: 15.86 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.00317, allocations: 95.5 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.003231, allocations: 27.86 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.00331, allocations: 8 kB / 0.9526 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.003354, allocations: 11.98 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.003392, allocations: 11.92 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.003405, allocations: 4 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.003589, allocations: 135.7 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.003604, allocations: 7.984 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.003623, allocations: 11.92 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.003792, allocations: 115.6 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003793, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003794, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003798, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 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.0003313/0.004129, allocations: 290.1 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.004169, allocations: 12.03 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.004199, allocations: 34.75 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.004463, allocations: 32.84 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.702e-05/0.00454, allocations: 109.8 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.00455, allocations: 384 / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.00456, allocations: 4.375 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.004711, allocations: 70.2 kB / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.004718, allocations: 192 / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.004727, allocations: 384 / 0.9534 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004732, allocations: 8.062 kB / 0.9534 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.004866, allocations: 55.94 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.005244, allocations: 232 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.005365, allocations: 54.55 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.005432, allocations: 32.89 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.005449, allocations: 7.984 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.005481, allocations: 38.44 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.005482, allocations: 0 / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002891/0.005771, allocations: 117.6 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.005801, allocations: 51.41 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.237e-05/0.005853, allocations: 102 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005864, allocations: 25.7 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.005899, allocations: 88.14 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.005914, allocations: 3.953 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.005942, allocations: 13.72 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.006021, allocations: 318.8 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.006085, allocations: 23.97 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.006145, allocations: 31.97 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.006266, allocations: 56.75 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006268, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001556/0.006423, allocations: 97.75 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.006435, allocations: 7.938 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006439, allocations: 0 / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.006453, allocations: 7.984 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.006524, allocations: 15.98 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006528, allocations: 0 / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.006566, allocations: 11.98 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.006572, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 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.358e-05/0.006626, allocations: 113.9 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.006644, allocations: 7.922 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.006678, allocations: 7.25 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006681, allocations: 4 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.006685, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006687, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.006799, allocations: 140.5 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.0068, allocations: 0 / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.006844, allocations: 15.98 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006847, allocations: 7.938 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.006855, allocations: 3.984 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006856, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006857, allocations: 0 / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.007046, allocations: 175.5 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.007056, allocations: 19.95 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007067, allocations: 0 / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.00712, allocations: 7.984 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.00715, allocations: 4 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.007154, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.007181, allocations: 83.22 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007181, allocations: 0 / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000167/0.007348, allocations: 15.98 kB / 0.9553 GB, free: 14.29 MB / 0.9167 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.0004153/0.007764, allocations: 0.7241 MB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.007943, allocations: 59.94 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007945, allocations: 4.094 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.008012, allocations: 35.89 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.008223, allocations: 0 / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.008622, allocations: 166.3 kB / 0.9563 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.008663, allocations: 55.36 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.304e-05/0.008706, allocations: 16 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.008746, allocations: 12.48 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.008746, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.02364, allocations: 2.357 MB / 0.9586 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.862, allocations: 12.27 kB / 0.9586 GB, free: 10.91 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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/jenkins/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: 10.755183626897633]