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.0008497/0.0008497, allocations: 76.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.0007798/0.0007798, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8681/0.8681, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.848/1.848, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.815e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001652/0.00167, allocations: 1.494 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.002518, allocations: 0.7639 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.002549, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002574, allocations: 3.938 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.002619, allocations: 7.922 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.002979, allocations: 143.2 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.003054, allocations: 55.78 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.003153, allocations: 11.98 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.003206, allocations: 23.97 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.003245, allocations: 23.91 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.00326, allocations: 4 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.003474, allocations: 159.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.00349, allocations: 7.938 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.003513, allocations: 27.97 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.003718, allocations: 159.5 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00372, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003721, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003725, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 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.000391/0.004116, allocations: 329.8 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.004151, allocations: 8.75 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.004182, allocations: 8.891 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.004265, allocations: 117.7 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004275, allocations: 8.375 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004285, allocations: 4.375 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.004445, allocations: 70.22 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.004452, allocations: 192 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004463, allocations: 384 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004467, allocations: 384 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.004616, allocations: 79.86 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.004897, allocations: 220.4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.005016, allocations: 58.53 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.005097, allocations: 32.92 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.005206, allocations: 11.98 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.005229, allocations: 46.5 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.00523, allocations: 0 / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003032/0.005534, allocations: 133.5 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.005563, allocations: 55.34 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.005629, allocations: 113.8 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.005638, allocations: 25.7 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.005675, allocations: 92.14 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.005695, allocations: 15.83 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.005719, allocations: 13.72 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.005797, allocations: 314.8 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.005868, allocations: 35.95 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.005932, allocations: 31.91 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.006068, allocations: 76.72 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00607, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001615/0.006231, allocations: 97.56 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.006243, allocations: 8 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.006246, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006257, allocations: 4 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.006324, allocations: 15.97 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.00633, allocations: 3.984 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.006364, allocations: 12.31 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.00637, allocations: 0 / 1.006 GB, free: 7.949 MB / 0.9636 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.237e-05/0.006422, allocations: 113.8 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.006436, allocations: 11.89 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.006625, allocations: 117.5 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006627, allocations: 0 / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.006631, allocations: 0 / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.006633, allocations: 0 / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.704e-05/0.00672, allocations: 113.3 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006721, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.00676, allocations: 15.98 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.006761, allocations: 0 / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006768, allocations: 7.938 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006769, allocations: 4 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00677, allocations: 0 / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.006959, allocations: 195.8 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.006965, allocations: 3.953 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006976, allocations: 7.938 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.007025, allocations: 7.984 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.007064, allocations: 19.92 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.007066, allocations: 0 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.007096, allocations: 87.28 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007096, allocations: 0 / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001723/0.007268, allocations: 35.86 kB / 1.006 GB, free: 7.152 MB / 0.9636 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.000151/0.007419, allocations: 135.1 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.007601, allocations: 71.92 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007602, allocations: 3.938 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.007671, allocations: 31.97 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.00785, allocations: 14.41 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.00811, allocations: 170.5 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.008155, allocations: 71.33 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.008179, allocations: 12.5 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.00818, allocations: 0 / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of Templates: time 0.002084/0.01026, allocations: 1.239 MB / 1.008 GB, free: 5.355 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] 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/jenkins/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: 6.499006742611527]