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.00142/0.00142, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001562/0.001562, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.617/1.617, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.757/2.757, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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 1.993e-06/1.993e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.267e-05, allocations: 5.922 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004626/0.004659, allocations: 1.516 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.007099, allocations: 0.7485 MB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.007142, allocations: 5.219 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.007187, allocations: 3.938 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.007269, allocations: 11.86 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.008292, allocations: 137.3 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.008444, allocations: 51.78 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.008551, allocations: 11.98 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.008656, allocations: 32.75 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.008738, allocations: 19.97 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.008763, allocations: 4.562 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.009353, allocations: 171.6 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.009376, allocations: 4.688 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.00943, allocations: 16.83 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.009945, allocations: 171.5 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.009948, allocations: 0 / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.009949, allocations: 0.6562 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.009954, allocations: 0 / 0.7892 GB, free: 9.953 MB / 0.7448 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.0009038/0.01086, allocations: 323.5 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.0109, allocations: 8.031 kB / 0.7895 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.01097, allocations: 10.53 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.01116, allocations: 113.7 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.01118, allocations: 4.359 kB / 0.7896 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.0112, allocations: 4.375 kB / 0.7896 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.01165, allocations: 74.97 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01166, allocations: 3.594 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.01167, allocations: 4.375 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.01168, allocations: 384 / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.01228, allocations: 75.84 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.01283, allocations: 216.5 kB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.01321, allocations: 59.19 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.01353, allocations: 34.39 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.01376, allocations: 12.73 kB / 0.7901 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.01381, allocations: 43.03 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.01382, allocations: 0 / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.001089/0.01491, allocations: 136 kB / 0.7903 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.01497, allocations: 55.41 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.01514, allocations: 106.7 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.01517, allocations: 25.7 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.01526, allocations: 92.62 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.0153, allocations: 13.33 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.01537, allocations: 17.7 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.01563, allocations: 318.8 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.01593, allocations: 32.45 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.01619, allocations: 25.31 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.01676, allocations: 72.22 kB / 0.791 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01677, allocations: 0 / 0.791 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007012/0.01747, allocations: 113.8 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.01749, allocations: 4.844 kB / 0.7911 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.0175, allocations: 3.984 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.01752, allocations: 0.5 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.01773, allocations: 20.53 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01774, allocations: 0.5625 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.0179, allocations: 13.33 kB / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01791, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.7448 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 0.0001432/0.01805, allocations: 113.8 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.01811, allocations: 8.484 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.01882, allocations: 115 kB / 0.7914 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01882, allocations: 1.094 kB / 0.7914 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01883, allocations: 0 / 0.7914 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01883, allocations: 4 kB / 0.7914 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.01911, allocations: 113.8 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.01912, allocations: 3.984 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.0193, allocations: 12.8 kB / 0.7915 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.01931, allocations: 4.938 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01932, allocations: 3.938 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01932, allocations: 1.312 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01932, allocations: 0 / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.02008, allocations: 196.4 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.02009, allocations: 6.266 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.02012, allocations: 7.875 kB / 0.7917 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.02033, allocations: 11.98 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.0204, allocations: 11.92 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.02041, allocations: 4 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001032/0.02051, allocations: 87.28 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.02051, allocations: 1.125 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005308/0.02104, allocations: 35.86 kB / 0.7918 GB, free: 7.023 MB / 0.7448 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.000369/0.02141, allocations: 128.2 kB / 0.792 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006502/0.02206, allocations: 70.14 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02206, allocations: 0 / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.02238, allocations: 40.98 kB / 0.7921 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.02291, allocations: 13.34 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.02343, allocations: 144.4 kB / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.02354, allocations: 68.23 kB / 0.7923 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.02359, allocations: 5.312 kB / 0.7923 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.02365, allocations: 12.5 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.02365, allocations: 1.938 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.007595/0.03124, allocations: 1.425 MB / 0.7937 GB, free: 5.109 MB / 0.7448 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: 7.75714811810758]