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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008278/0.0008278, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9028/0.9028, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.036e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00166/0.00168, allocations: 1.295 MB / 0.9518 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.002559, allocations: 0.7638 MB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.002578, allocations: 0 / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.002597, allocations: 3.938 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.002636, allocations: 11.92 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.003051, allocations: 131.3 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.003117, allocations: 31.84 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.003151, allocations: 3.984 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.649e-05/0.003208, allocations: 15.98 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.003257, allocations: 4 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003271, allocations: 4 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.00348, allocations: 163.6 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.003496, allocations: 11.98 kB / 0.9529 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.003515, allocations: 7.938 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.003698, allocations: 135.6 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.0037, allocations: 0 / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003701, allocations: 0 / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003705, allocations: 0 / 0.953 GB, free: 0.9062 MB / 0.9011 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.0003188/0.004024, allocations: 282 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004058, allocations: 15.97 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.004085, allocations: 38.73 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.004113, allocations: 8.891 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.717e-05/0.00418, allocations: 109.7 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.004243, allocations: 55.97 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.00425, allocations: 384 / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004359, allocations: 75.94 kB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004365, allocations: 192 / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004374, allocations: 4.359 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00438, allocations: 3.938 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.004437, allocations: 19.98 kB / 0.9536 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.004553, allocations: 124.8 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.004738, allocations: 54.62 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.004769, allocations: 12.94 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.00492, allocations: 27.97 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.004938, allocations: 34.56 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004939, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.005115, allocations: 69.61 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.005142, allocations: 55.34 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.475e-05/0.005187, allocations: 97.86 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005197, allocations: 25.7 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.005218, allocations: 88.12 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.005242, allocations: 11.84 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005268, allocations: 21.72 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.005339, allocations: 314.8 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.005365, allocations: 7.984 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.005388, allocations: 12 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.005439, allocations: 24.84 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.005442, allocations: 8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.589e-05/0.005518, allocations: 61.62 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005531, allocations: 14.44 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.005534, allocations: 0 / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005545, allocations: 3.938 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/0.005577, allocations: 8 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.005582, allocations: 3.938 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.005597, allocations: 0 / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005602, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 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 5.406e-05/0.005656, allocations: 117.8 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-06/0.005662, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.005769, allocations: 65.88 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.005773, allocations: 3.938 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005777, allocations: 0 / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00578, allocations: 7.938 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.709e-05/0.005848, allocations: 124.8 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005848, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.005868, allocations: 11.94 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005869, allocations: 4.031 kB / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.005875, allocations: 4 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.005878, allocations: 3.938 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005878, allocations: 0 / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/0.005957, allocations: 85.06 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.005987, allocations: 4 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.005997, allocations: 3.984 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.592e-05/0.006023, allocations: 11.94 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.00605, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006053, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.006075, allocations: 83.27 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006075, allocations: 4 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000166/0.006241, allocations: 39.81 kB / 0.9552 GB, free: 14.38 MB / 0.9167 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.0004221/0.006663, allocations: 0.6591 MB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.394e-05/0.006757, allocations: 23.98 kB / 0.9558 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006759, allocations: 0 / 0.9558 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.006786, allocations: 19.92 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.00695, allocations: 19.86 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.007267, allocations: 162.3 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.007305, allocations: 63.34 kB / 0.9561 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.007332, allocations: 0 / 0.9561 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.007358, allocations: 16.5 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of SimCode: time 3e-07/0.007358, allocations: 0 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.02114, allocations: 2.677 MB / 0.9587 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.933, allocations: 0 / 0.9587 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.866914723068476]