Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001455/0.001455, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00224/0.00224, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002183/0.002183, allocations: 67.98 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4078, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003297/0.4111, allocations: 1.296 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.4129, allocations: 0.7536 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.4129, allocations: 4 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.4129, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.413, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.4137, allocations: 135.4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4138, allocations: 31.84 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.4138, allocations: 7.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.4139, allocations: 7.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.414, allocations: 11.98 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.414, allocations: 4 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.4144, allocations: 155.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.4144, allocations: 11.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.4145, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.4148, allocations: 125 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4148, allocations: 8 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4148, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.4149, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006254/0.4155, allocations: 283.8 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.4155, allocations: 8.031 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.4156, allocations: 38.69 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.4156, allocations: 8.922 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4158, allocations: 106.5 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.4159, allocations: 51.97 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4159, allocations: 4.375 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4161, allocations: 79.64 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4161, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4161, allocations: 3.984 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4162, allocations: 0 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.4163, allocations: 19.98 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.4165, allocations: 124.7 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.4168, allocations: 46.61 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.4169, allocations: 12.94 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.4171, allocations: 39.95 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4172, allocations: 38.44 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4172, allocations: 0 / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002908/0.4174, allocations: 69.62 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.4175, allocations: 51.41 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.4176, allocations: 93.86 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4176, allocations: 29.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.4177, allocations: 80.14 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.4177, allocations: 19.89 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.4178, allocations: 17.72 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4179, allocations: 310.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.418, allocations: 15.98 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.418, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.4181, allocations: 32.78 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4181, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001576/0.4183, allocations: 57.67 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4183, allocations: 17.91 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4183, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4183, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.4184, allocations: 12 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4184, allocations: 0 / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.4184, allocations: 4 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4184, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.889e-05/0.4185, allocations: 121.7 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.4185, allocations: 7.938 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.4187, allocations: 65.31 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4187, allocations: 8 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4188, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4188, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4189, allocations: 128.7 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4189, allocations: 0 / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.4189, allocations: 8 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4189, allocations: 3.938 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4189, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4189, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4189, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.4191, allocations: 93.61 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.4192, allocations: 7.875 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4192, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.4192, allocations: 4.031 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.4193, allocations: 3.984 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4193, allocations: 4 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.4193, allocations: 83.27 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4193, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000267/0.4196, allocations: 31.88 kB / 1.287 GB, free: 7.391 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.0007195/0.4203, allocations: 0.6629 MB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.4205, allocations: 23.98 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4205, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.4205, allocations: 15.98 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4208, allocations: 8 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.4214, allocations: 178.8 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.4215, allocations: 67.34 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.4215, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.4216, allocations: 15.44 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.4216, allocations: 3.938 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.4556, allocations: 2.525 MB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 12.8 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.862132012844086]