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.002018/0.002018, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002461/0.002461, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.609/1.609, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.037/3.037, allocations: 0.49 GB / 0.7923 GB, free: 1.434 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",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.002008/0.002008, allocations: 59.91 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002291/1.044, allocations: 1.303 MB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2227/1.267, allocations: 150.9 MB / 1.47 GB, free: 9.684 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/1.267, allocations: 1.25 kB / 1.47 GB, free: 9.684 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/1.267, allocations: 0 / 1.47 GB, free: 9.684 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/1.267, allocations: 5.062 kB / 1.47 GB, free: 9.68 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/1.267, allocations: 129.9 kB / 1.47 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/1.267, allocations: 12.81 kB / 1.47 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/1.267, allocations: 1.312 kB / 1.47 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/1.267, allocations: 7.828 kB / 1.47 GB, free: 9.578 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/1.267, allocations: 20.52 kB / 1.47 GB, free: 9.562 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.717e-06/1.267, allocations: 0 / 1.47 GB, free: 9.562 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/1.268, allocations: 177.1 kB / 1.47 GB, free: 9.473 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/1.268, allocations: 0 / 1.47 GB, free: 9.473 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/1.268, allocations: 16.95 kB / 1.47 GB, free: 9.461 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/1.268, allocations: 108.1 kB / 1.471 GB, free: 9.414 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.268, allocations: 0 / 1.471 GB, free: 9.414 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.162e-06/1.268, allocations: 1.062 kB / 1.471 GB, free: 9.414 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.268, allocations: 0 / 1.471 GB, free: 9.414 MB / 1.154 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.000377/1.268, allocations: 358.2 kB / 1.471 GB, free: 9.031 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.268, allocations: 13.17 kB / 1.471 GB, free: 9.027 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/1.268, allocations: 5.281 kB / 1.471 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/1.268, allocations: 34.75 kB / 1.471 GB, free: 8.98 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/1.269, allocations: 40.17 kB / 1.471 GB, free: 8.965 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.269, allocations: 177 kB / 1.471 GB, free: 8.754 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.269, allocations: 1.188 kB / 1.471 GB, free: 8.754 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.269, allocations: 1.281 kB / 1.471 GB, free: 8.754 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.269, allocations: 49.89 kB / 1.471 GB, free: 8.707 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.269, allocations: 0 / 1.471 GB, free: 8.707 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.269, allocations: 3.984 kB / 1.471 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.269, allocations: 1.125 kB / 1.471 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/1.27, allocations: 14.73 kB / 1.471 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/1.27, allocations: 254.8 kB / 1.471 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/1.27, allocations: 27.31 kB / 1.472 GB, free: 8.379 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/1.27, allocations: 11.45 kB / 1.472 GB, free: 8.367 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/1.27, allocations: 1.188 kB / 1.472 GB, free: 8.367 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.27, allocations: 31.69 kB / 1.472 GB, free: 8.328 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.27, allocations: 0 / 1.472 GB, free: 8.328 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/1.27, allocations: 44.36 kB / 1.472 GB, free: 8.289 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.27, allocations: 59.47 kB / 1.472 GB, free: 8.219 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.27, allocations: 115.1 kB / 1.472 GB, free: 8.105 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/1.27, allocations: 26.83 kB / 1.472 GB, free: 8.074 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/1.27, allocations: 84.09 kB / 1.472 GB, free: 7.988 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/1.27, allocations: 1.094 kB / 1.472 GB, free: 7.988 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/1.271, allocations: 26.03 kB / 1.472 GB, free: 7.961 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.271, allocations: 315.9 kB / 1.472 GB, free: 7.645 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/1.271, allocations: 10.31 kB / 1.472 GB, free: 7.641 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/1.271, allocations: 13.83 kB / 1.472 GB, free: 7.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/1.271, allocations: 26.41 kB / 1.472 GB, free: 7.613 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.271, allocations: 0.9375 kB / 1.472 GB, free: 7.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002041/1.271, allocations: 59.31 kB / 1.472 GB, free: 7.566 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/1.271, allocations: 5.812 kB / 1.472 GB, free: 7.566 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.271, allocations: 4 kB / 1.472 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.271, allocations: 0 / 1.472 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.271, allocations: 15.33 kB / 1.472 GB, free: 7.555 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.271, allocations: 7.922 kB / 1.472 GB, free: 7.547 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/1.271, allocations: 9.234 kB / 1.472 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/1.271, allocations: 1.219 kB / 1.472 GB, free: 7.543 MB / 1.154 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.122e-05/1.271, allocations: 109.1 kB / 1.472 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/1.272, allocations: 9.328 kB / 1.472 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/1.272, allocations: 8.562 kB / 1.472 GB, free: 7.414 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.272, allocations: 0 / 1.472 GB, free: 7.414 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.272, allocations: 3.938 kB / 1.472 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.272, allocations: 1.469 kB / 1.472 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.272, allocations: 148.5 kB / 1.473 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/1.272, allocations: 0 / 1.473 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/1.272, allocations: 6.812 kB / 1.473 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.272, allocations: 1.438 kB / 1.473 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/1.272, allocations: 0 / 1.473 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.272, allocations: 7.938 kB / 1.473 GB, free: 7.207 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.272, allocations: 5.406 kB / 1.473 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/1.272, allocations: 136.8 kB / 1.473 GB, free: 7.062 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/1.272, allocations: 82.33 kB / 1.473 GB, free: 6.965 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.272, allocations: 0 / 1.473 GB, free: 6.965 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/1.272, allocations: 2.5 kB / 1.473 GB, free: 6.965 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/1.272, allocations: 8.922 kB / 1.473 GB, free: 6.957 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.272, allocations: 5.094 kB / 1.473 GB, free: 6.953 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001066/1.272, allocations: 90.73 kB / 1.473 GB, free: 6.871 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.272, allocations: 0 / 1.473 GB, free: 6.871 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002458/1.272, allocations: 17 kB / 1.473 GB, free: 6.867 MB / 1.154 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.0005028/1.273, allocations: 0.6832 MB / 1.474 GB, free: 6.191 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.273, allocations: 22.81 kB / 1.474 GB, free: 6.18 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.273, allocations: 0 / 1.474 GB, free: 6.18 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/1.273, allocations: 8.844 kB / 1.474 GB, free: 6.176 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.273, allocations: 8.031 kB / 1.474 GB, free: 6.172 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/1.274, allocations: 173.1 kB / 1.474 GB, free: 5.996 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.274, allocations: 0.6733 MB / 1.474 GB, free: 5.301 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.351e-05/1.274, allocations: 9.453 kB / 1.475 GB, free: 5.293 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/1.274, allocations: 9.875 kB / 1.475 GB, free: 5.285 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/1.274, allocations: 0 / 1.475 GB, free: 5.285 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/1.294, allocations: 1.644 MB / 1.476 GB, free: 4.391 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/9.822, allocations: 11.08 kB / 1.476 GB, free: 4.387 MB / 1.154 GB " [Timeout remaining time 290] (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: 16.97530121204909]