Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008698/0.0008698, allocations: 72.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.000834/0.000834, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9029/0.9029, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.791/1.791, allocations: 389 MB / 0.6338 GB, free: 12.7 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.748e-05, allocations: 5.234 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00219/0.002217, allocations: 1.869 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5868/0.5891, allocations: 136.7 MB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.5892, allocations: 1.25 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.5894, allocations: 28.16 kB / 1.136 GB, free: 13.88 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.5897, allocations: 80.06 kB / 1.136 GB, free: 13.83 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.5904, allocations: 272.1 kB / 1.137 GB, free: 13.69 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.5907, allocations: 266.1 kB / 1.137 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.5909, allocations: 51.62 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5919, allocations: 308.1 kB / 1.137 GB, free: 13.45 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.592, allocations: 66 kB / 1.137 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.592, allocations: 15.41 kB / 1.137 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.5924, allocations: 188 kB / 1.137 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.5924, allocations: 45.8 kB / 1.137 GB, free: 13.35 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.5925, allocations: 67.5 kB / 1.138 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.593, allocations: 314.1 kB / 1.138 GB, free: 13.21 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.593, allocations: 1.031 kB / 1.138 GB, free: 13.21 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.883e-06/0.593, allocations: 0 / 1.138 GB, free: 13.21 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.593, allocations: 0.5625 kB / 1.138 GB, free: 13.21 MB / 1.01 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.0007057/0.5937, allocations: 469.2 kB / 1.138 GB, free: 12.85 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5937, allocations: 10.91 kB / 1.138 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.5944, allocations: 113.7 kB / 1.138 GB, free: 12.83 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.5946, allocations: 171.1 kB / 1.139 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.5947, allocations: 67.81 kB / 1.139 GB, free: 12.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.5947, allocations: 22.75 kB / 1.139 GB, free: 12.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.5951, allocations: 313.5 kB / 1.139 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5951, allocations: 6.375 kB / 1.139 GB, free: 12.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5951, allocations: 6.219 kB / 1.139 GB, free: 12.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5951, allocations: 3.844 kB / 1.139 GB, free: 12.37 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.5954, allocations: 173.8 kB / 1.139 GB, free: 12.31 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5965, allocations: 1.07 MB / 1.14 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.597, allocations: 199.6 kB / 1.14 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.5971, allocations: 63.94 kB / 1.14 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5971, allocations: 5.312 kB / 1.14 GB, free: 11.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.5971, allocations: 37.16 kB / 1.14 GB, free: 11.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.5971, allocations: 0 / 1.14 GB, free: 11.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.001368/0.5985, allocations: 486.4 kB / 1.141 GB, free: 11.13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5985, allocations: 52.78 kB / 1.141 GB, free: 11.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.5987, allocations: 183.8 kB / 1.141 GB, free: 10.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5987, allocations: 32.39 kB / 1.141 GB, free: 10.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.5988, allocations: 141.9 kB / 1.141 GB, free: 10.78 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.5988, allocations: 48.56 kB / 1.141 GB, free: 10.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.5989, allocations: 49.7 kB / 1.141 GB, free: 10.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.599, allocations: 321.6 kB / 1.142 GB, free: 10.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5991, allocations: 71.47 kB / 1.142 GB, free: 10.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.5993, allocations: 163.4 kB / 1.142 GB, free: 10.24 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.5995, allocations: 197.4 kB / 1.142 GB, free: 10.12 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5995, allocations: 2.641 kB / 1.142 GB, free: 10.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007848/0.6003, allocations: 371.9 kB / 1.142 GB, free: 9.984 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6003, allocations: 6.406 kB / 1.143 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6003, allocations: 1.156 kB / 1.143 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.6009, allocations: 163.5 kB / 1.143 GB, free: 9.949 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.601, allocations: 42.77 kB / 1.143 GB, free: 9.941 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.6035, allocations: 2.995 MB / 1.146 GB, free: 7.242 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6036, allocations: 31.05 kB / 1.146 GB, free: 7.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.6037, allocations: 7.891 kB / 1.146 GB, free: 7.23 MB / 1.01 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.0001075/0.6038, allocations: 132.7 kB / 1.146 GB, free: 7.102 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.6038, allocations: 14.73 kB / 1.146 GB, free: 7.094 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.6045, allocations: 370.1 kB / 1.146 GB, free: 6.945 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6045, allocations: 3.016 kB / 1.146 GB, free: 6.945 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.6045, allocations: 0 / 1.146 GB, free: 6.945 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6045, allocations: 5.969 kB / 1.146 GB, free: 6.941 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.6047, allocations: 190.5 kB / 1.146 GB, free: 6.781 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6047, allocations: 0 / 1.146 GB, free: 6.781 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.6048, allocations: 30.41 kB / 1.146 GB, free: 6.773 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.6052, allocations: 136.3 kB / 1.147 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.6052, allocations: 5.125 kB / 1.147 GB, free: 6.738 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.6074, allocations: 3.036 MB / 1.149 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6074, allocations: 1.125 kB / 1.149 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.6081, allocations: 431.7 kB / 1.15 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.6082, allocations: 31.84 kB / 1.15 GB, free: 3.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6082, allocations: 5.688 kB / 1.15 GB, free: 3.766 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.6084, allocations: 11.61 kB / 1.15 GB, free: 3.766 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.6084, allocations: 20.14 kB / 1.15 GB, free: 3.762 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6085, allocations: 8.859 kB / 1.15 GB, free: 3.758 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001059/0.6086, allocations: 132.7 kB / 1.15 GB, free: 3.672 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6086, allocations: 7.938 kB / 1.15 GB, free: 3.664 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003609/0.6089, allocations: 79.34 kB / 1.15 GB, free: 3.645 MB / 1.01 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.0001886/0.6091, allocations: 114.7 kB / 1.15 GB, free: 3.551 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006627/0.6098, allocations: 437.2 kB / 1.151 GB, free: 3.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6098, allocations: 4.844 kB / 1.151 GB, free: 3.266 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.6101, allocations: 353.7 kB / 1.151 GB, free: 3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.6104, allocations: 43.56 kB / 1.151 GB, free: 2.984 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007869/0.6112, allocations: 442.7 kB / 1.152 GB, free: 2.715 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.6113, allocations: 123.8 kB / 1.152 GB, free: 2.637 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.6114, allocations: 26.5 kB / 1.152 GB, free: 2.629 MB / 1.01 GB Notification: Performance of SimCode: time 6.52e-07/0.6114, allocations: 0 / 1.152 GB, free: 2.629 MB / 1.01 GB Notification: Performance of Templates: time 0.006443/0.6178, allocations: 4.249 MB / 1.156 GB, free: 2.324 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.636739264242351]