Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.001307/0.001307, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001506/0.001506, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.003029/0.003029, allocations: 64.55 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4078, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003505/0.4113, allocations: 1.524 MB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.4128, allocations: 0.8147 MB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.4129, allocations: 0 / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.4129, allocations: 11.86 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.413, allocations: 11.86 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.4135, allocations: 131.4 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4136, allocations: 55.86 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4137, allocations: 15.92 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.4138, allocations: 19.92 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.4139, allocations: 27.86 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4139, allocations: 4 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.4143, allocations: 179.7 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.4143, allocations: 7.984 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.4144, allocations: 23.86 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.4147, allocations: 151.5 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4147, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4147, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4147, allocations: 4 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006121/0.4154, allocations: 327.5 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4154, allocations: 8.031 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.4154, allocations: 34.69 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.4155, allocations: 8.891 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4156, allocations: 114.5 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4156, allocations: 4.375 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4157, allocations: 8.375 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.4159, allocations: 74.2 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4159, allocations: 3.938 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.416, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.416, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.4163, allocations: 75.86 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.4167, allocations: 255.8 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4169, allocations: 58.55 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.4171, allocations: 40.89 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.4172, allocations: 19.98 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4173, allocations: 34.5 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4173, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.4178, allocations: 129.5 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4179, allocations: 51.41 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.418, allocations: 125.8 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.418, allocations: 25.7 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.4181, allocations: 92.09 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.4181, allocations: 11.89 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.4181, allocations: 17.7 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4183, allocations: 318.8 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4184, allocations: 31.97 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4186, allocations: 39.89 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.4188, allocations: 68.78 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4188, allocations: 4 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.4191, allocations: 97.58 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4192, allocations: 5.562 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4192, allocations: 0 / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4192, allocations: 0 / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.4193, allocations: 15.98 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4193, allocations: 0 / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.4194, allocations: 19.97 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4194, allocations: 0 / 1.358 GB, free: 3.211 MB / 1.045 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 9.759e-05/0.4195, allocations: 125.7 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4195, allocations: 0 / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.4199, allocations: 109.6 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4199, allocations: 4 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4199, allocations: 4 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4199, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4201, allocations: 156.7 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4201, allocations: 0 / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.4202, allocations: 15.98 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4202, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4202, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4202, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4202, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.4206, allocations: 211.3 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.4206, allocations: 8.312 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4206, allocations: 0 / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4207, allocations: 11.98 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.4208, allocations: 7.984 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4208, allocations: 8 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.4208, allocations: 91.27 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4208, allocations: 0 / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002891/0.4211, allocations: 31.88 kB / 1.359 GB, free: 2.363 MB / 1.045 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 (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 Backend phase and start with SimCode phase: time 0.0008345/0.4219, allocations: 0.763 MB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.4223, allocations: 67.91 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4223, allocations: 4 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4224, allocations: 35.91 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4228, allocations: 15.94 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.4249, allocations: 1.434 MB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4253, allocations: 0.6807 MB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.4253, allocations: 3.984 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.4254, allocations: 27.38 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.4254, allocations: 0 / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.4554, allocations: 2.604 MB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.53, allocations: 19.91 kB / 1.364 GB, free: 12.72 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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.81189527292736]