Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008749/0.0008749, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002065, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008158/0.0008158, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.00183, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9845/0.9845, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09584/1.08, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.83/1.83, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.555/2.385, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.076e-05, allocations: 5.719 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002516/0.002537, allocations: 1.591 MB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003679, allocations: 0.8184 MB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.003721, allocations: 4 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003748, allocations: 4.438 kB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.003787, allocations: 10.36 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.004188, allocations: 128.7 kB / 0.7318 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.004281, allocations: 56.55 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.004362, allocations: 8 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.004452, allocations: 40.53 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.004501, allocations: 19.97 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.004518, allocations: 4.906 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.004835, allocations: 175.6 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.00485, allocations: 4.812 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.004872, allocations: 15.94 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.0051, allocations: 132.9 kB / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.005115, allocations: 0 / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005116, allocations: 0 / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.005133, allocations: 0 / 0.7323 GB, free: 1.562 MB / 0.698 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.0004363/0.005569, allocations: 312.6 kB / 0.7326 GB, free: 1.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.005605, allocations: 13.47 kB / 0.7326 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.005638, allocations: 8.938 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.005728, allocations: 109.8 kB / 0.7327 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005737, allocations: 384 / 0.7327 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.005747, allocations: 5.469 kB / 0.7327 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.00588, allocations: 70.86 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.005888, allocations: 4.625 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-06/0.005895, allocations: 5.938 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.0059, allocations: 384 / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.005927, allocations: 7.938 kB / 0.7328 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.006168, allocations: 168.2 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.3e-05/0.006231, allocations: 32.11 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.00625, allocations: 8.859 kB / 0.733 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.006382, allocations: 16.06 kB / 0.733 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.006405, allocations: 35.22 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006406, allocations: 1.312 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001217/0.006528, allocations: 41.62 kB / 0.7331 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.006561, allocations: 55.41 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.006625, allocations: 118.6 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006637, allocations: 31.3 kB / 0.7333 GB, free: 424 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.006672, allocations: 96.06 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.00669, allocations: 3.953 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.006719, allocations: 13.72 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.006816, allocations: 328.2 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.006831, allocations: 0 / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.006844, allocations: 4 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.006876, allocations: 12.84 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.006878, allocations: 0.6562 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.42e-05/0.006942, allocations: 50.81 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.006955, allocations: 4 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00696, allocations: 7.875 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.006969, allocations: 0.9688 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.007044, allocations: 8 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007047, allocations: 1.25 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.007075, allocations: 11.98 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.007081, allocations: 0 / 0.7338 GB, free: 15.86 MB / 0.7136 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.24e-05/0.007133, allocations: 107.1 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.007153, allocations: 4 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.007245, allocations: 53.61 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007246, allocations: 0.8438 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007248, allocations: 3.938 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.007251, allocations: 0.5312 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007362, allocations: 77.81 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007363, allocations: 1.031 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.00741, allocations: 15.92 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.007418, allocations: 8.859 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00742, allocations: 0 / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.007425, allocations: 0 / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.007427, allocations: 5.156 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007428, allocations: 0 / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.546e-05/0.007513, allocations: 139.6 kB / 0.7342 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007525, allocations: 9.062 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.007577, allocations: 4.75 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.007613, allocations: 11.92 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.007616, allocations: 0.75 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.007633, allocations: 12.86 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007633, allocations: 1.969 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002328/0.007866, allocations: 39.86 kB / 0.7342 GB, free: 15.32 MB / 0.7136 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.0001885/0.008054, allocations: 128.1 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.008129, allocations: 18.19 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.008136, allocations: 4 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.008157, allocations: 12.84 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.008336, allocations: 8.531 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.00893, allocations: 157.8 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.008967, allocations: 66.53 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.008992, allocations: 0 / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.009048, allocations: 55.38 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.009048, allocations: 0 / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.003826/0.01287, allocations: 1.606 MB / 0.7362 GB, free: 13.32 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.903115343302488]