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.001355/0.001355, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001491/0.001491, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.043/3.043, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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.333e-06/1.333e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.677e-05, allocations: 13.67 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002626/0.002653, allocations: 1.5 MB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.004006, allocations: 0.7514 MB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.004042, allocations: 8 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.004075, allocations: 7.875 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.004141, allocations: 11.86 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.004622, allocations: 131.3 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.004724, allocations: 55.72 kB / 1.003 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.004821, allocations: 11.98 kB / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.00489, allocations: 31.97 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.004939, allocations: 19.98 kB / 1.003 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004957, allocations: 7.938 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.005288, allocations: 159.7 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.005312, allocations: 15.91 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.005339, allocations: 11.98 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.005659, allocations: 171.5 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.005663, allocations: 0 / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005664, allocations: 0 / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.005669, allocations: 0 / 1.003 GB, free: 4.41 MB / 0.9512 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.0006016/0.006271, allocations: 333.8 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006305, allocations: 8.031 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.006339, allocations: 8.891 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.006452, allocations: 109.7 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.006464, allocations: 4.312 kB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.006481, allocations: 4.375 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.006758, allocations: 82.19 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.006767, allocations: 192 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006777, allocations: 384 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.006781, allocations: 4.375 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.007109, allocations: 71.8 kB / 1.004 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.007464, allocations: 220.5 kB / 1.004 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.007691, allocations: 46.55 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.007868, allocations: 48.84 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.008036, allocations: 11.98 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.008072, allocations: 38.5 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.008073, allocations: 0 / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006889/0.008762, allocations: 133.5 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.008807, allocations: 55.39 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.008918, allocations: 109.8 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.008938, allocations: 25.7 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.009002, allocations: 84.14 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.009035, allocations: 23.78 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.009076, allocations: 13.72 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.009251, allocations: 318.8 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.00941, allocations: 23.97 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.009563, allocations: 39.95 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.009877, allocations: 73.05 kB / 1.005 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00988, allocations: 0 / 1.005 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003739/0.01025, allocations: 105.6 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01027, allocations: 6.188 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01028, allocations: 0 / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01029, allocations: 0 / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01043, allocations: 19.92 kB / 1.005 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01044, allocations: 0 / 1.005 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.01053, allocations: 19.91 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01054, allocations: 384 / 1.005 GB, free: 2.234 MB / 0.9512 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 8.558e-05/0.01062, allocations: 117.8 kB / 1.005 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.01065, allocations: 7.891 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.01106, allocations: 101.6 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01106, allocations: 3.938 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01107, allocations: 0 / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01107, allocations: 4 kB / 1.005 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01123, allocations: 117.3 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01123, allocations: 4 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01133, allocations: 15.97 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.01134, allocations: 4 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01135, allocations: 3.938 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01135, allocations: 3.938 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01135, allocations: 0 / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.01178, allocations: 187.5 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.01179, allocations: 11.95 kB / 1.005 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.01181, allocations: 7.922 kB / 1.005 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.01193, allocations: 11.98 kB / 1.005 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.01198, allocations: 0 / 1.005 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01199, allocations: 4 kB / 1.005 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.01204, allocations: 87.27 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01204, allocations: 0 / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002978/0.01234, allocations: 35.88 kB / 1.006 GB, free: 1.453 MB / 0.9512 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.000269/0.01261, allocations: 143.1 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.01299, allocations: 71.86 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01299, allocations: 0 / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.01316, allocations: 35.95 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.01348, allocations: 12 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.01388, allocations: 140.8 kB / 1.006 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.239e-05/0.01395, allocations: 75.28 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.01398, allocations: 0 / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.01402, allocations: 12.5 kB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.01402, allocations: 288 / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of Templates: time 0.004398/0.01842, allocations: 1.408 MB / 1.007 GB, free: 15.52 MB / 0.9669 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: 8.212471209466457]