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.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.002099/0.002099, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002141/0.002141, allocations: 186 kB / 20.78 MB, free: 1.547 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.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002028/0.002028, allocations: 67.89 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8932/0.8952, allocations: 173.6 MB / 1.305 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003283/0.8985, allocations: 1.934 MB / 1.307 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1989/1.097, allocations: 156 MB / 1.46 GB, free: 7.242 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/1.098, allocations: 3.938 kB / 1.46 GB, free: 7.238 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/1.098, allocations: 35.66 kB / 1.46 GB, free: 7.203 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004958/1.098, allocations: 75.42 kB / 1.46 GB, free: 7.129 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/1.099, allocations: 255.2 kB / 1.46 GB, free: 6.879 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004288/1.1, allocations: 267.1 kB / 1.46 GB, free: 6.617 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/1.1, allocations: 50.41 kB / 1.46 GB, free: 6.57 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/1.102, allocations: 263.4 kB / 1.461 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/1.102, allocations: 95.59 kB / 1.461 GB, free: 6.246 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/1.102, allocations: 20 kB / 1.461 GB, free: 6.227 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/1.102, allocations: 187.7 kB / 1.461 GB, free: 6.043 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 8.353e-05/1.102, allocations: 39.84 kB / 1.461 GB, free: 6.004 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/1.102, allocations: 95.5 kB / 1.461 GB, free: 5.91 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/1.103, allocations: 286.6 kB / 1.461 GB, free: 5.633 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.103, allocations: 0 / 1.461 GB, free: 5.633 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.353e-06/1.103, allocations: 0 / 1.461 GB, free: 5.633 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.208e-06/1.103, allocations: 0 / 1.461 GB, free: 5.633 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.001166/1.104, allocations: 0.5336 MB / 1.462 GB, free: 5.051 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/1.104, allocations: 8.031 kB / 1.462 GB, free: 5.043 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/1.105, allocations: 79.83 kB / 1.462 GB, free: 4.965 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/1.105, allocations: 235.6 kB / 1.462 GB, free: 4.695 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-05/1.106, allocations: 38.03 kB / 1.462 GB, free: 4.652 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/1.106, allocations: 19.98 kB / 1.462 GB, free: 4.633 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/1.106, allocations: 266.5 kB / 1.462 GB, free: 4.344 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.106, allocations: 3.938 kB / 1.462 GB, free: 4.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/1.106, allocations: 11.98 kB / 1.462 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/1.106, allocations: 8 kB / 1.462 GB, free: 4.32 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/1.107, allocations: 167.7 kB / 1.463 GB, free: 4.156 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/1.109, allocations: 1.181 MB / 1.464 GB, free: 2.898 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/1.109, allocations: 198.6 kB / 1.464 GB, free: 2.695 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/1.11, allocations: 68.81 kB / 1.464 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/1.11, allocations: 0 / 1.464 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.11, allocations: 38.56 kB / 1.464 GB, free: 2.578 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/1.11, allocations: 0 / 1.464 GB, free: 2.578 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002779/1.112, allocations: 0.6259 MB / 1.465 GB, free: 1.902 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.112, allocations: 51.41 kB / 1.465 GB, free: 1.84 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/1.113, allocations: 218.9 kB / 1.465 GB, free: 1.613 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/1.113, allocations: 29.7 kB / 1.465 GB, free: 1.578 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/1.113, allocations: 140.2 kB / 1.465 GB, free: 1.434 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/1.113, allocations: 47.64 kB / 1.465 GB, free: 1.387 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.113, allocations: 41.69 kB / 1.465 GB, free: 1.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.113, allocations: 330.8 kB / 1.465 GB, free: 1.008 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.113, allocations: 71.94 kB / 1.466 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.114, allocations: 136.9 kB / 1.466 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/1.114, allocations: 198.8 kB / 1.466 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.114, allocations: 0 / 1.466 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001519/1.116, allocations: 374.7 kB / 1.466 GB, free: 184 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.116, allocations: 4 kB / 1.466 GB, free: 180 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.116, allocations: 4 kB / 1.466 GB, free: 176 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.117, allocations: 161.8 kB / 1.466 GB, free: 8 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.117, allocations: 39.89 kB / 1.466 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/1.121, allocations: 3.254 MB / 1.47 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/1.122, allocations: 43.75 kB / 1.47 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/1.122, allocations: 8 kB / 1.47 GB, free: 12.38 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.0001418/1.122, allocations: 141.7 kB / 1.47 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/1.122, allocations: 19.89 kB / 1.47 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.123, allocations: 364.3 kB / 1.47 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.123, allocations: 4 kB / 1.47 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/1.123, allocations: 0 / 1.47 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.123, allocations: 0 / 1.47 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/1.124, allocations: 277.4 kB / 1.47 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.124, allocations: 0 / 1.47 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.124, allocations: 23.92 kB / 1.47 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/1.125, allocations: 141.6 kB / 1.471 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.125, allocations: 4 kB / 1.471 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/1.129, allocations: 3.301 MB / 1.474 GB, free: 7.75 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.129, allocations: 0 / 1.474 GB, free: 7.75 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.13, allocations: 434.5 kB / 1.474 GB, free: 7.305 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/1.13, allocations: 116.8 kB / 1.474 GB, free: 7.172 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/1.13, allocations: 8 kB / 1.474 GB, free: 7.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/1.13, allocations: 15.97 kB / 1.474 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/1.13, allocations: 16.17 kB / 1.474 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/1.13, allocations: 8 kB / 1.474 GB, free: 7.125 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002061/1.131, allocations: 159.2 kB / 1.474 GB, free: 6.969 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.131, allocations: 0 / 1.474 GB, free: 6.969 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004096/1.131, allocations: 75.92 kB / 1.475 GB, free: 6.895 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.0001925/1.131, allocations: 115.1 kB / 1.475 GB, free: 6.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.132, allocations: 449.8 kB / 1.475 GB, free: 6.305 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.132, allocations: 0 / 1.475 GB, free: 6.305 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/1.133, allocations: 359 kB / 1.475 GB, free: 5.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/1.133, allocations: 67.88 kB / 1.476 GB, free: 5.863 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/1.134, allocations: 424.7 kB / 1.476 GB, free: 5.426 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/1.135, allocations: 0.7401 MB / 1.477 GB, free: 4.66 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001651/1.135, allocations: 37.88 kB / 1.477 GB, free: 4.625 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/1.135, allocations: 23.42 kB / 1.477 GB, free: 4.602 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.135, allocations: 0 / 1.477 GB, free: 4.602 MB / 1.154 GB Notification: Performance of Templates: time 0.0108/1.146, allocations: 5.476 MB / 1.482 GB, free: 15.18 MB / 1.17 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] 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: 9.587660265155137]