Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 192.8 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.907/2.907, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.88 kB / 1.137 GB, free: 12.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8995, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002526/0.902, allocations: 1.689 MB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1759/1.078, allocations: 148.5 MB / 1.453 GB, free: 5.102 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/1.078, allocations: 5.5 kB / 1.453 GB, free: 5.098 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/1.078, allocations: 25.8 kB / 1.453 GB, free: 5.078 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003302/1.079, allocations: 52.95 kB / 1.454 GB, free: 5.043 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/1.079, allocations: 184 kB / 1.454 GB, free: 4.953 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003221/1.08, allocations: 167 kB / 1.454 GB, free: 4.875 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/1.08, allocations: 24.38 kB / 1.454 GB, free: 4.867 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/1.081, allocations: 197.3 kB / 1.454 GB, free: 4.805 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/1.081, allocations: 66.86 kB / 1.454 GB, free: 4.773 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/1.081, allocations: 9.125 kB / 1.454 GB, free: 4.773 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/1.082, allocations: 155.1 kB / 1.454 GB, free: 4.738 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/1.082, allocations: 30.03 kB / 1.454 GB, free: 4.719 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/1.082, allocations: 53.3 kB / 1.454 GB, free: 4.688 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/1.083, allocations: 206.2 kB / 1.455 GB, free: 4.613 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.083, allocations: 0 / 1.455 GB, free: 4.613 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/1.083, allocations: 1.312 kB / 1.455 GB, free: 4.613 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.083, allocations: 0.6094 kB / 1.455 GB, free: 4.613 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001029/1.084, allocations: 397.6 kB / 1.455 GB, free: 4.285 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.084, allocations: 9 kB / 1.455 GB, free: 4.285 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/1.084, allocations: 51.67 kB / 1.455 GB, free: 4.281 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/1.085, allocations: 151.5 kB / 1.455 GB, free: 4.129 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.085, allocations: 7.156 kB / 1.455 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/1.085, allocations: 5.312 kB / 1.455 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/1.085, allocations: 191.9 kB / 1.455 GB, free: 4.012 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.085, allocations: 0 / 1.455 GB, free: 4.012 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/1.085, allocations: 10.19 kB / 1.455 GB, free: 4.004 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.085, allocations: 2.469 kB / 1.455 GB, free: 4.004 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/1.086, allocations: 140.4 kB / 1.455 GB, free: 3.973 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/1.087, allocations: 0.8002 MB / 1.456 GB, free: 3.25 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/1.088, allocations: 126.3 kB / 1.456 GB, free: 3.195 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/1.088, allocations: 79.2 kB / 1.456 GB, free: 3.168 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.088, allocations: 1.844 kB / 1.456 GB, free: 3.168 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.088, allocations: 31.75 kB / 1.457 GB, free: 3.129 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/1.088, allocations: 0 / 1.457 GB, free: 3.129 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.002141/1.09, allocations: 383 kB / 1.457 GB, free: 3.016 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.09, allocations: 56.75 kB / 1.457 GB, free: 2.949 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/1.09, allocations: 155.1 kB / 1.457 GB, free: 2.832 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/1.09, allocations: 26.41 kB / 1.457 GB, free: 2.801 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/1.09, allocations: 113.4 kB / 1.457 GB, free: 2.695 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/1.09, allocations: 24.62 kB / 1.457 GB, free: 2.676 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/1.091, allocations: 36.92 kB / 1.457 GB, free: 2.648 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.091, allocations: 320.6 kB / 1.458 GB, free: 2.332 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/1.091, allocations: 76.48 kB / 1.458 GB, free: 2.309 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/1.091, allocations: 97.95 kB / 1.458 GB, free: 2.254 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/1.092, allocations: 177.7 kB / 1.458 GB, free: 2.168 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.092, allocations: 4.938 kB / 1.458 GB, free: 2.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0013/1.093, allocations: 281.7 kB / 1.458 GB, free: 2.059 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.093, allocations: 11.94 kB / 1.458 GB, free: 2.055 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.093, allocations: 1.719 kB / 1.458 GB, free: 2.055 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/1.094, allocations: 90.72 kB / 1.458 GB, free: 2.031 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.094, allocations: 35.53 kB / 1.458 GB, free: 2.027 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/1.097, allocations: 1.547 MB / 1.46 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/1.097, allocations: 28.69 kB / 1.46 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/1.097, allocations: 10.14 kB / 1.46 GB, free: 0.625 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.098, allocations: 127.8 kB / 1.46 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/1.098, allocations: 9.703 kB / 1.46 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/1.099, allocations: 314.9 kB / 1.46 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.099, allocations: 1.219 kB / 1.46 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/1.099, allocations: 0.6875 kB / 1.46 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.099, allocations: 1.906 kB / 1.46 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/1.099, allocations: 222.4 kB / 1.461 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.099, allocations: 0 / 1.461 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/1.099, allocations: 37.39 kB / 1.461 GB, free: 172 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/1.1, allocations: 71.62 kB / 1.461 GB, free: 156 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/1.1, allocations: 11.28 kB / 1.461 GB, free: 148 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.102, allocations: 1.586 MB / 1.462 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.102, allocations: 0.7031 kB / 1.462 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.103, allocations: 375.1 kB / 1.463 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/1.103, allocations: 29.78 kB / 1.463 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/1.103, allocations: 5.922 kB / 1.463 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.104, allocations: 26.03 kB / 1.463 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/1.104, allocations: 16.25 kB / 1.463 GB, free: 14.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/1.104, allocations: 4.047 kB / 1.463 GB, free: 14.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.754e-05/1.104, allocations: 113 kB / 1.463 GB, free: 14.41 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.104, allocations: 5.219 kB / 1.463 GB, free: 14.41 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003854/1.104, allocations: 44.52 kB / 1.463 GB, free: 14.4 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/1.104, allocations: 105.3 kB / 1.463 GB, free: 14.31 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.106, allocations: 304.1 kB / 1.463 GB, free: 14.15 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.106, allocations: 0 / 1.463 GB, free: 14.15 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/1.106, allocations: 233.3 kB / 1.463 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.107, allocations: 22.81 kB / 1.463 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/1.107, allocations: 315.9 kB / 1.464 GB, free: 13.8 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.108, allocations: 0.7111 MB / 1.464 GB, free: 13.1 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001547/1.108, allocations: 26.59 kB / 1.464 GB, free: 13.09 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/1.108, allocations: 23.23 kB / 1.464 GB, free: 13.08 MB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/1.108, allocations: 0 / 1.464 GB, free: 13.08 MB / 1.154 GB Notification: Performance of Templates: time 0.008585/1.117, allocations: 3.368 MB / 1.468 GB, free: 12.09 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 9.552354084327817]