Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007595/0.0007595, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007648/0.0007648, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8605/0.8605, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.653/1.653, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.381e-05, allocations: 5.094 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002005/0.002029, allocations: 1.506 MB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003165, allocations: 0.7561 MB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.003208, allocations: 0 / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.003251, allocations: 3.938 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.003318, allocations: 7.875 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.003782, allocations: 135.2 kB / 0.9541 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.003884, allocations: 59.78 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.004004, allocations: 12 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.004077, allocations: 27.91 kB / 0.9541 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.004131, allocations: 19.97 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.004147, allocations: 4 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.004382, allocations: 163.7 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.004399, allocations: 7.984 kB / 0.9543 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.004424, allocations: 23.92 kB / 0.9544 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.004723, allocations: 167.5 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004725, allocations: 0 / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of FrontEnd: time 9.51e-07/0.004726, allocations: 0 / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.00473, allocations: 0 / 0.9545 GB, free: 100 kB / 0.9011 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.0004209/0.005151, allocations: 325.9 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.005189, allocations: 11.97 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.005228, allocations: 8.891 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.005312, allocations: 113.7 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.005325, allocations: 4.375 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.005336, allocations: 4.375 kB / 0.955 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005506, allocations: 74.2 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005513, allocations: 4.188 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005523, allocations: 384 / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005528, allocations: 384 / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.005674, allocations: 79.8 kB / 0.9551 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.005959, allocations: 220.4 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.006074, allocations: 58.55 kB / 0.9554 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.006147, allocations: 36.91 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.006284, allocations: 15.92 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.006306, allocations: 38.5 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.006307, allocations: 0 / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003022/0.006609, allocations: 125.6 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.006638, allocations: 55.39 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.006701, allocations: 113.8 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.006711, allocations: 25.7 kB / 0.9558 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.006749, allocations: 92.09 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.006768, allocations: 7.891 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.006793, allocations: 13.72 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.00687, allocations: 318.8 kB / 0.9562 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.006939, allocations: 39.91 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.007003, allocations: 32.14 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.007133, allocations: 72.86 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007136, allocations: 4 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001683/0.007304, allocations: 105.9 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.007316, allocations: 4 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007323, allocations: 4 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.007333, allocations: 0 / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.007398, allocations: 15.92 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.007403, allocations: 3.938 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.00744, allocations: 19.97 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.007446, allocations: 0 / 0.9565 GB, free: 13.91 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 (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 5.217e-05/0.007498, allocations: 113.8 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.007512, allocations: 7.938 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.007701, allocations: 105.6 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007702, allocations: 0 / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.007707, allocations: 0 / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.00771, allocations: 4 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.886e-05/0.007799, allocations: 113.3 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.0078, allocations: 0 / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.007839, allocations: 19.97 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.00784, allocations: 3.938 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.007848, allocations: 7.938 kB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007849, allocations: 0 / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007849, allocations: 0 / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.00802, allocations: 195.4 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.008027, allocations: 3.953 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.00804, allocations: 11.92 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.008091, allocations: 7.984 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.008134, allocations: 8 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.008136, allocations: 0 / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.008169, allocations: 91.27 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008169, allocations: 0 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001718/0.008341, allocations: 31.88 kB / 0.9572 GB, free: 13.13 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 (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.0001531/0.008494, allocations: 139.2 kB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.008669, allocations: 67.86 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008671, allocations: 0 / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.008745, allocations: 39.95 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.008929, allocations: 12.27 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.0092, allocations: 177.2 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.009242, allocations: 67.25 kB / 0.9576 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.009267, allocations: 12.5 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.009268, allocations: 3.938 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of Templates: time 0.001924/0.01119, allocations: 1.252 MB / 0.9589 GB, free: 11.32 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.463799581862986]