Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000861/0.000861, 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.0008165/0.0008165, 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.9163/0.9163, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9809 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.11e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001852/0.001873, allocations: 1.428 MB / 0.9823 GB, free: 36 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.002576, allocations: 0.5569 MB / 0.9829 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.0026, allocations: 0 / 0.9829 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.002628, allocations: 7.922 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.002674, allocations: 0 / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.002993, allocations: 103.4 kB / 0.983 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.003056, allocations: 27.88 kB / 0.983 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.003148, allocations: 11.97 kB / 0.983 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.526e-05/0.003193, allocations: 8 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.003234, allocations: 11.98 kB / 0.983 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003249, allocations: 4 kB / 0.983 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.003434, allocations: 139.7 kB / 0.9832 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.003447, allocations: 0 / 0.9832 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.003465, allocations: 11.98 kB / 0.9832 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.003639, allocations: 119.6 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.003642, allocations: 3.984 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.003643, allocations: 0 / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003648, allocations: 4 kB / 0.9833 GB, free: 15.03 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.0003448/0.003993, allocations: 282.1 kB / 0.9836 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004031, allocations: 8.031 kB / 0.9836 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.004057, allocations: 30.75 kB / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.00433, allocations: 36.84 kB / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.004404, allocations: 105.8 kB / 0.9838 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004415, allocations: 8.375 kB / 0.9838 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.004425, allocations: 4.312 kB / 0.9838 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.004645, allocations: 62.2 kB / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004651, allocations: 4.125 kB / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.004661, allocations: 384 / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.004669, allocations: 12.11 kB / 0.9838 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.004808, allocations: 55.94 kB / 0.9839 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.005128, allocations: 228 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.005264, allocations: 62.47 kB / 0.9842 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.005335, allocations: 44.89 kB / 0.9842 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.005355, allocations: 7.938 kB / 0.9842 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.005373, allocations: 34.5 kB / 0.9843 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.005374, allocations: 0 / 0.9843 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002969/0.005671, allocations: 109.7 kB / 0.9844 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.005699, allocations: 59.41 kB / 0.9844 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.005754, allocations: 105.8 kB / 0.9845 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.005765, allocations: 25.7 kB / 0.9845 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.005797, allocations: 80.14 kB / 0.9846 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.005815, allocations: 7.953 kB / 0.9846 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.005845, allocations: 17.7 kB / 0.9846 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.201e-05/0.005917, allocations: 314.8 kB / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.005984, allocations: 23.97 kB / 0.985 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.006046, allocations: 31.97 kB / 0.985 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.006174, allocations: 52.81 kB / 0.985 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006176, allocations: 4 kB / 0.9851 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000161/0.006337, allocations: 93.62 kB / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.00635, allocations: 6.188 kB / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006355, allocations: 0 / 0.9851 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006365, allocations: 3.938 kB / 0.9852 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.006439, allocations: 11.98 kB / 0.9852 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.006444, allocations: 0 / 0.9852 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.006484, allocations: 16.02 kB / 0.9852 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.00649, allocations: 0 / 0.9852 GB, free: 12.93 MB / 0.9011 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.477e-05/0.006544, allocations: 113.8 kB / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.00656, allocations: 7.938 kB / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.006594, allocations: 3.312 kB / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006597, allocations: 0 / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006601, allocations: 0 / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006603, allocations: 0 / 0.9853 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.00671, allocations: 132.7 kB / 0.9854 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006711, allocations: 4 kB / 0.9854 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.006759, allocations: 15.97 kB / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006761, allocations: 7.875 kB / 0.9854 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.006769, allocations: 0 / 0.9854 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00677, allocations: 4 kB / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006771, allocations: 3.938 kB / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.006962, allocations: 195.4 kB / 0.9856 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.006969, allocations: 7.938 kB / 0.9857 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.00698, allocations: 0 / 0.9857 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.007033, allocations: 7.984 kB / 0.9857 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.007071, allocations: 0 / 0.9857 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.007077, allocations: 4 kB / 0.9857 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.881e-05/0.007106, allocations: 87.27 kB / 0.9857 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.007106, allocations: 0 / 0.9857 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001735/0.007279, allocations: 8 kB / 0.9858 GB, free: 12.27 MB / 0.9011 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.0004337/0.007713, allocations: 0.7319 MB / 0.9865 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.007893, allocations: 67.89 kB / 0.9865 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007894, allocations: 0 / 0.9865 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.00796, allocations: 27.97 kB / 0.9866 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.00819, allocations: 8 kB / 0.9866 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.008593, allocations: 154.4 kB / 0.9867 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.008636, allocations: 67.47 kB / 0.9868 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.008681, allocations: 7.938 kB / 0.9868 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.00872, allocations: 16.83 kB / 0.9868 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of SimCode: time 3.8e-07/0.00872, allocations: 0 / 0.9868 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.02467, allocations: 2.346 MB / 0.9891 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/6.839, allocations: 7.953 kB / 0.9891 GB, free: 8.895 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.887456972151995]