Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001783/0.001783, allocations: 113 kB / 18.94 MB, free: 2.957 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.002426/0.002426, allocations: 213.2 kB / 22.25 MB, free: 5.121 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.004 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.442/3.442, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001988/0.001988, allocations: 68.59 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002589/0.3858, allocations: 1.313 MB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1942/0.58, allocations: 150.9 MB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.5801, allocations: 0 / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.5801, allocations: 0 / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.5801, allocations: 11.92 kB / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.5807, allocations: 115.5 kB / 1.475 GB, free: 9.004 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.5807, allocations: 19.81 kB / 1.475 GB, free: 8.984 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.5808, allocations: 4 kB / 1.475 GB, free: 8.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.5808, allocations: 8 kB / 1.475 GB, free: 8.973 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.5809, allocations: 15.92 kB / 1.475 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.5809, allocations: 0 / 1.475 GB, free: 8.957 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.5813, allocations: 179.6 kB / 1.475 GB, free: 8.781 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.5813, allocations: 3.984 kB / 1.475 GB, free: 8.777 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.5813, allocations: 4 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.5816, allocations: 119.9 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5816, allocations: 0 / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5816, allocations: 0 / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5816, allocations: 0 / 1.475 GB, free: 8.656 MB / 1.17 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.0003923/0.582, allocations: 287.5 kB / 1.475 GB, free: 8.348 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.582, allocations: 19.95 kB / 1.475 GB, free: 8.328 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.5821, allocations: 30.75 kB / 1.475 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.5827, allocations: 36.89 kB / 1.475 GB, free: 8.254 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5828, allocations: 110.2 kB / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.5828, allocations: 0 / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.5828, allocations: 8 kB / 1.476 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.583, allocations: 49.66 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.583, allocations: 0 / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.583, allocations: 0 / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.583, allocations: 0 / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.5832, allocations: 19.97 kB / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.5836, allocations: 231.9 kB / 1.476 GB, free: 7.77 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.857e-05/0.5836, allocations: 22.52 kB / 1.476 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.5837, allocations: 16.91 kB / 1.476 GB, free: 7.719 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.5837, allocations: 0 / 1.476 GB, free: 7.719 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5837, allocations: 38.55 kB / 1.476 GB, free: 7.672 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5837, allocations: 0 / 1.476 GB, free: 7.672 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.5839, allocations: 45.64 kB / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.5839, allocations: 51.41 kB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5841, allocations: 113.8 kB / 1.476 GB, free: 7.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5841, allocations: 25.7 kB / 1.476 GB, free: 7.406 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.5841, allocations: 84.12 kB / 1.476 GB, free: 7.32 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.5842, allocations: 11.89 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.5842, allocations: 17.7 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5843, allocations: 319 kB / 1.477 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.5844, allocations: 11.98 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.5845, allocations: 11.98 kB / 1.477 GB, free: 6.941 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.545e-05/0.5845, allocations: 16.86 kB / 1.477 GB, free: 6.922 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5846, allocations: 0 / 1.477 GB, free: 6.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001917/0.5847, allocations: 73.55 kB / 1.477 GB, free: 6.844 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5848, allocations: 4 kB / 1.477 GB, free: 6.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5848, allocations: 3.938 kB / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5848, allocations: 0 / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5849, allocations: 11.98 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5849, allocations: 0 / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.585, allocations: 11.92 kB / 1.477 GB, free: 6.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.5851, allocations: 4 kB / 1.477 GB, free: 6.809 MB / 1.17 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 (3): * Single equations (assignments): 3 * 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.786e-05/0.5851, allocations: 110.4 kB / 1.477 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.5852, allocations: 0 / 1.477 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.5852, allocations: 7.312 kB / 1.477 GB, free: 6.684 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5852, allocations: 4 kB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5852, allocations: 0 / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5852, allocations: 7.875 kB / 1.477 GB, free: 6.672 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.5854, allocations: 124.8 kB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5854, allocations: 4 kB / 1.477 GB, free: 6.504 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.5854, allocations: 7.984 kB / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5854, allocations: 4 kB / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5854, allocations: 0 / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5854, allocations: 0 / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5854, allocations: 0 / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.5855, allocations: 135.4 kB / 1.477 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.5856, allocations: 11.94 kB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.5856, allocations: 0 / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5857, allocations: 8.031 kB / 1.477 GB, free: 6.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.5857, allocations: 3.938 kB / 1.477 GB, free: 6.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.5857, allocations: 0 / 1.477 GB, free: 6.32 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001005/0.5858, allocations: 91.59 kB / 1.477 GB, free: 6.23 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5858, allocations: 0 / 1.477 GB, free: 6.23 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002517/0.5861, allocations: 15.94 kB / 1.477 GB, free: 6.215 MB / 1.17 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.0004987/0.5866, allocations: 0.6812 MB / 1.478 GB, free: 5.508 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.5867, allocations: 16.12 kB / 1.478 GB, free: 5.492 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5867, allocations: 0 / 1.478 GB, free: 5.492 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.5867, allocations: 4 kB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5871, allocations: 20.02 kB / 1.478 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.5876, allocations: 150.8 kB / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5879, allocations: 0.6807 MB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.925e-05/0.588, allocations: 11.92 kB / 1.479 GB, free: 4.562 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.588, allocations: 11.44 kB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.588, allocations: 0 / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.616, allocations: 1.688 MB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.56, allocations: 6.234 kB / 1.48 GB, free: 2.988 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.77070152782835]