Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001615/0.001615, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001814/0.001814, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.575/1.575, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 1.056 GB, free: 2.527 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 160.7 MB / 1.213 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002896/0.315, allocations: 1.415 MB / 1.214 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3161, allocations: 0.6051 MB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.3162, allocations: 0 / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.3162, allocations: 0 / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.3163, allocations: 7.922 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.3167, allocations: 91.58 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.3168, allocations: 35.86 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.3168, allocations: 4 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.3169, allocations: 15.91 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.3169, allocations: 11.98 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.317, allocations: 4 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.3172, allocations: 139.8 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3173, allocations: 7.922 kB / 1.215 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.3173, allocations: 8 kB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3175, allocations: 99.92 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3175, allocations: 11.98 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3175, allocations: 0 / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3175, allocations: 0 / 1.215 GB, free: 15.02 MB / 0.9669 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.0005442/0.3181, allocations: 359.2 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3181, allocations: 8.031 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.3182, allocations: 30.75 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.3186, allocations: 36.84 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3188, allocations: 168.3 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3188, allocations: 384 / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3188, allocations: 384 / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.319, allocations: 66.2 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3191, allocations: 3.938 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3191, allocations: 3.938 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3191, allocations: 4 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3193, allocations: 51.94 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.3198, allocations: 268.9 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.32, allocations: 66.45 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3202, allocations: 36.89 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3202, allocations: 0 / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3202, allocations: 34.5 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3202, allocations: 0 / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0005089/0.3207, allocations: 117.6 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3208, allocations: 51.41 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.3209, allocations: 101.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3209, allocations: 25.83 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3209, allocations: 92.08 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.321, allocations: 7.953 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.321, allocations: 17.7 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3211, allocations: 310.8 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3213, allocations: 23.97 kB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.3214, allocations: 35.91 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3216, allocations: 56.81 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.3216, allocations: 3.938 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003043/0.322, allocations: 89.69 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.322, allocations: 4 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.322, allocations: 7.938 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.322, allocations: 0 / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3221, allocations: 11.98 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3221, allocations: 0 / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.3222, allocations: 11.98 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3222, allocations: 8.016 kB / 1.217 GB, free: 12.71 MB / 0.9669 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 8.159e-05/0.3223, allocations: 109.8 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3224, allocations: 11.94 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.3224, allocations: 3.125 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3224, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3224, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3224, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3226, allocations: 173.6 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3226, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3227, allocations: 19.97 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.3227, allocations: 4 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3227, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.3231, allocations: 187.4 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3231, allocations: 77.11 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3232, allocations: 4 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3233, allocations: 11.98 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.3233, allocations: 0 / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3233, allocations: 0 / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.3234, allocations: 91.23 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002472/0.3236, allocations: 15.94 kB / 1.218 GB, free: 11.92 MB / 0.9669 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.000755/0.3244, allocations: 0.7318 MB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.3247, allocations: 59.92 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3247, allocations: 0 / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3248, allocations: 36 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3251, allocations: 5.719 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.3257, allocations: 164.1 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3261, allocations: 0.6768 MB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.3261, allocations: 12.06 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.3262, allocations: 7.438 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3262, allocations: 4 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3504, allocations: 1.675 MB / 1.221 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/8.529, allocations: 13.58 kB / 1.221 GB, free: 8.562 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.777062448207289]