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.001292/0.001292, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001633/0.001633, allocations: 209.8 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.14 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4095, allocations: 176.1 MB / 1.326 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00358/0.4131, allocations: 1.433 MB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.4145, allocations: 0.6156 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.4145, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.937e-05/0.4146, allocations: 3.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.4146, allocations: 7.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.4151, allocations: 95.56 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.4152, allocations: 23.92 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4153, allocations: 4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.4154, allocations: 15.98 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.4154, allocations: 15.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.4155, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.4158, allocations: 147.7 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.4158, allocations: 7.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.4158, allocations: 11.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.4161, allocations: 103.6 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4161, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 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.0005893/0.4167, allocations: 286.1 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4167, allocations: 16.02 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.4168, allocations: 34.75 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.4173, allocations: 24.91 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4174, allocations: 114.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4174, allocations: 4.375 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.4174, allocations: 8.312 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4177, allocations: 66.2 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4177, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4177, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.4177, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.418, allocations: 59.94 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4184, allocations: 236 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.4187, allocations: 62.42 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.4188, allocations: 36.89 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4188, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4189, allocations: 34.55 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4189, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000511/0.4194, allocations: 109.6 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4194, allocations: 51.41 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.4195, allocations: 105.8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4195, allocations: 29.64 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.4196, allocations: 84.12 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4196, allocations: 8.078 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.4196, allocations: 17.72 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4198, allocations: 314.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4199, allocations: 27.97 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.42, allocations: 23.97 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4203, allocations: 60.88 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4203, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003089/0.4206, allocations: 93.58 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4206, allocations: 8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4206, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4207, allocations: 3.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4208, allocations: 11.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4208, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.4209, allocations: 7.984 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4209, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 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 9.49e-05/0.421, allocations: 114.3 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.421, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.4211, allocations: 11.3 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4211, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4213, allocations: 148.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4213, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4214, allocations: 16.17 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4214, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4214, allocations: 3.984 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4214, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4214, allocations: 3.984 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.4218, allocations: 187.4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.4218, allocations: 15.88 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4218, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.4219, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.422, allocations: 7.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.422, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.422, allocations: 79.28 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.422, allocations: 4.031 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002491/0.4223, allocations: 15.98 kB / 1.331 GB, free: 12.73 MB / 1.029 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.000744/0.423, allocations: 0.7318 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.4233, allocations: 55.88 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4233, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4235, allocations: 32.03 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.4238, allocations: 7.984 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.4245, allocations: 168.3 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4248, allocations: 0.6729 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.4249, allocations: 12.06 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.4249, allocations: 15.42 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4249, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.4554, allocations: 1.773 MB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.34, allocations: 8.656 kB / 1.334 GB, free: 9.309 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.449739830801263]