Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.002022/0.002022, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002235/0.002235, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 66.16 kB / 1.119 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 170 MB / 1.285 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003684/0.3175, allocations: 1.957 MB / 1.287 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1975/0.515, allocations: 158.9 MB / 1.442 GB, free: 9.867 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.5152, allocations: 7.938 kB / 1.442 GB, free: 9.859 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.5154, allocations: 23.73 kB / 1.442 GB, free: 9.836 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.5158, allocations: 75.42 kB / 1.442 GB, free: 9.762 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.5166, allocations: 267.1 kB / 1.442 GB, free: 9.5 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.517, allocations: 263.1 kB / 1.442 GB, free: 9.242 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.5172, allocations: 50.53 kB / 1.442 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.5187, allocations: 262.1 kB / 1.443 GB, free: 8.961 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.5189, allocations: 95.59 kB / 1.443 GB, free: 8.867 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.519, allocations: 16 kB / 1.443 GB, free: 8.852 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.5195, allocations: 195.6 kB / 1.443 GB, free: 8.66 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.5195, allocations: 39.89 kB / 1.443 GB, free: 8.621 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.5196, allocations: 99.52 kB / 1.443 GB, free: 8.523 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.5202, allocations: 294.8 kB / 1.443 GB, free: 8.234 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5202, allocations: 4 kB / 1.443 GB, free: 8.23 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5202, allocations: 4 kB / 1.443 GB, free: 8.227 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5202, allocations: 0 / 1.443 GB, free: 8.227 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001017/0.5212, allocations: 463.2 kB / 1.444 GB, free: 7.746 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5212, allocations: 12.03 kB / 1.444 GB, free: 7.734 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5225, allocations: 111.7 kB / 1.444 GB, free: 7.625 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.5228, allocations: 172.8 kB / 1.444 GB, free: 7.43 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.5229, allocations: 67.72 kB / 1.444 GB, free: 7.352 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.5229, allocations: 19.94 kB / 1.444 GB, free: 7.332 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.5235, allocations: 262.6 kB / 1.444 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5235, allocations: 3.984 kB / 1.444 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.5236, allocations: 8 kB / 1.444 GB, free: 7.035 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5236, allocations: 4 kB / 1.444 GB, free: 7.031 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.524, allocations: 167.8 kB / 1.445 GB, free: 6.867 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5262, allocations: 1.152 MB / 1.446 GB, free: 5.645 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.527, allocations: 190.7 kB / 1.446 GB, free: 5.449 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.5272, allocations: 72.81 kB / 1.446 GB, free: 5.375 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5272, allocations: 0 / 1.446 GB, free: 5.375 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5272, allocations: 34.56 kB / 1.446 GB, free: 5.332 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.5272, allocations: 3.938 kB / 1.446 GB, free: 5.328 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002814/0.53, allocations: 486.6 kB / 1.446 GB, free: 4.84 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5301, allocations: 55.41 kB / 1.446 GB, free: 4.773 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.5304, allocations: 222.9 kB / 1.447 GB, free: 4.547 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.5305, allocations: 25.7 kB / 1.447 GB, free: 4.516 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5306, allocations: 140.2 kB / 1.447 GB, free: 4.375 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.5307, allocations: 51.58 kB / 1.447 GB, free: 4.324 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.5308, allocations: 49.64 kB / 1.447 GB, free: 4.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.531, allocations: 322.8 kB / 1.447 GB, free: 3.945 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.5312, allocations: 75.94 kB / 1.447 GB, free: 3.871 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.5315, allocations: 130.7 kB / 1.447 GB, free: 3.719 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.5319, allocations: 207.3 kB / 1.448 GB, free: 3.492 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5319, allocations: 0 / 1.448 GB, free: 3.492 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001531/0.5335, allocations: 376.3 kB / 1.448 GB, free: 3.113 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5335, allocations: 8 kB / 1.448 GB, free: 3.105 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5335, allocations: 0 / 1.448 GB, free: 3.105 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.5347, allocations: 165.7 kB / 1.448 GB, free: 2.938 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.535, allocations: 39.97 kB / 1.448 GB, free: 2.898 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.5397, allocations: 3.036 MB / 1.451 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.5401, allocations: 43.78 kB / 1.451 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.5402, allocations: 4 kB / 1.451 GB, free: 15.57 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.5403, allocations: 141.7 kB / 1.451 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.5404, allocations: 15.91 kB / 1.451 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.5418, allocations: 362.5 kB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5418, allocations: 4 kB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.5418, allocations: 4 kB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5418, allocations: 3.984 kB / 1.452 GB, free: 15.03 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.5422, allocations: 252.4 kB / 1.452 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5422, allocations: 4 kB / 1.452 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5423, allocations: 19.98 kB / 1.452 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008848/0.5432, allocations: 149.5 kB / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5432, allocations: 0 / 1.452 GB, free: 14.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/0.5476, allocations: 3.094 MB / 1.455 GB, free: 11.24 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5476, allocations: 4 kB / 1.455 GB, free: 11.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.5491, allocations: 432.7 kB / 1.456 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.5492, allocations: 43.75 kB / 1.456 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.5492, allocations: 0 / 1.456 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.5495, allocations: 15.98 kB / 1.456 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.5496, allocations: 19.97 kB / 1.456 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.5496, allocations: 7.984 kB / 1.456 GB, free: 10.7 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003047/0.5499, allocations: 163.1 kB / 1.456 GB, free: 10.54 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5499, allocations: 0 / 1.456 GB, free: 10.54 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004544/0.5504, allocations: 75.88 kB / 1.456 GB, free: 10.47 MB / 1.154 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.5506, allocations: 107.2 kB / 1.456 GB, free: 10.35 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.5518, allocations: 441.7 kB / 1.456 GB, free: 9.895 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5518, allocations: 0 / 1.456 GB, free: 9.895 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.5525, allocations: 355.2 kB / 1.457 GB, free: 9.523 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.5529, allocations: 60.45 kB / 1.457 GB, free: 9.465 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5541, allocations: 453.2 kB / 1.457 GB, free: 8.992 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.5547, allocations: 0.7439 MB / 1.458 GB, free: 8.223 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.5548, allocations: 27.42 kB / 1.458 GB, free: 8.195 MB / 1.154 GB Notification: Performance of SimCode: time 4e-07/0.5548, allocations: 0 / 1.458 GB, free: 8.195 MB / 1.154 GB Notification: Performance of Templates: time 0.008637/0.5634, allocations: 4.433 MB / 1.462 GB, free: 3.766 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 12.273606119997567]