Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0008638/0.0008638, 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.00088/0.00088, 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.68 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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.634e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001777/0.001794, allocations: 1.654 MB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5519/0.5537, allocations: 131.5 MB / 1.131 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.5538, allocations: 1.062 kB / 1.131 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.554, allocations: 26.81 kB / 1.131 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.5542, allocations: 61.27 kB / 1.131 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.5545, allocations: 188.4 kB / 1.131 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.5547, allocations: 171.4 kB / 1.131 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5548, allocations: 19.5 kB / 1.131 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.5557, allocations: 225.8 kB / 1.132 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.5557, allocations: 54.31 kB / 1.132 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.5558, allocations: 13.16 kB / 1.132 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.556, allocations: 156.5 kB / 1.132 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.5561, allocations: 29.75 kB / 1.132 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.5561, allocations: 37.36 kB / 1.132 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.5565, allocations: 228.5 kB / 1.132 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5565, allocations: 0 / 1.132 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5565, allocations: 1.188 kB / 1.132 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5565, allocations: 0 / 1.132 GB, free: 1.02 MB / 0.9948 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.0006441/0.5571, allocations: 404.3 kB / 1.132 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5572, allocations: 10.47 kB / 1.132 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.5577, allocations: 74.41 kB / 1.133 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.5578, allocations: 155 kB / 1.133 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.5579, allocations: 7.125 kB / 1.133 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.5579, allocations: 5.75 kB / 1.133 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.5582, allocations: 193.5 kB / 1.133 GB, free: 424 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5582, allocations: 4.594 kB / 1.133 GB, free: 420 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.5582, allocations: 1.844 kB / 1.133 GB, free: 420 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5582, allocations: 2.594 kB / 1.133 GB, free: 420 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.5585, allocations: 147 kB / 1.133 GB, free: 380 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.5593, allocations: 0.6855 MB / 1.134 GB, free: 15.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.5595, allocations: 126.7 kB / 1.134 GB, free: 15.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.5597, allocations: 79.31 kB / 1.134 GB, free: 15.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.5597, allocations: 1.562 kB / 1.134 GB, free: 15.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5598, allocations: 40.09 kB / 1.134 GB, free: 15.65 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.5598, allocations: 0 / 1.134 GB, free: 15.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.00114/0.5609, allocations: 387.3 kB / 1.134 GB, free: 15.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5609, allocations: 53.41 kB / 1.134 GB, free: 15.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5611, allocations: 142.3 kB / 1.135 GB, free: 15.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5611, allocations: 27.14 kB / 1.135 GB, free: 15.33 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.5611, allocations: 112.9 kB / 1.135 GB, free: 15.22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.5612, allocations: 30.7 kB / 1.135 GB, free: 15.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.5612, allocations: 28.28 kB / 1.135 GB, free: 15.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.5613, allocations: 325.1 kB / 1.135 GB, free: 14.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5615, allocations: 76.3 kB / 1.135 GB, free: 14.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.5616, allocations: 107.3 kB / 1.135 GB, free: 14.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.5619, allocations: 174.6 kB / 1.135 GB, free: 14.69 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.562, allocations: 1.406 kB / 1.135 GB, free: 14.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006212/0.5626, allocations: 280.3 kB / 1.136 GB, free: 14.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5626, allocations: 5.531 kB / 1.136 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5626, allocations: 1.5 kB / 1.136 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.563, allocations: 86.84 kB / 1.136 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5631, allocations: 35.97 kB / 1.136 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5647, allocations: 1.526 MB / 1.137 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.5648, allocations: 28.72 kB / 1.137 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5648, allocations: 9.578 kB / 1.137 GB, free: 13.21 MB / 1.01 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.0003573/0.5652, allocations: 116.8 kB / 1.137 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.5652, allocations: 16.55 kB / 1.137 GB, free: 13.08 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.5659, allocations: 308.7 kB / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5659, allocations: 1.219 kB / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.5659, allocations: 0 / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5659, allocations: 6.344 kB / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.5661, allocations: 174.5 kB / 1.138 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5661, allocations: 0 / 1.138 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.5662, allocations: 30.94 kB / 1.138 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.5664, allocations: 75.19 kB / 1.138 GB, free: 12.78 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5665, allocations: 4.031 kB / 1.138 GB, free: 12.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.5677, allocations: 1.559 MB / 1.14 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5677, allocations: 0 / 1.14 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.5685, allocations: 379.7 kB / 1.14 GB, free: 11.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.5685, allocations: 29.42 kB / 1.14 GB, free: 11.19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.5685, allocations: 0.9688 kB / 1.14 GB, free: 11.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.5686, allocations: 22.92 kB / 1.14 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.5687, allocations: 16.42 kB / 1.14 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.5687, allocations: 5.141 kB / 1.14 GB, free: 11.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.474e-05/0.5688, allocations: 108.5 kB / 1.14 GB, free: 11.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5688, allocations: 0 / 1.14 GB, free: 11.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002435/0.569, allocations: 48.45 kB / 1.14 GB, free: 11.09 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 (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.0002116/0.5692, allocations: 108.4 kB / 1.14 GB, free: 10.99 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.5698, allocations: 312.5 kB / 1.14 GB, free: 10.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5699, allocations: 5.156 kB / 1.14 GB, free: 10.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.5701, allocations: 228.8 kB / 1.141 GB, free: 10.68 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.5704, allocations: 27 kB / 1.141 GB, free: 10.68 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.571, allocations: 334.9 kB / 1.141 GB, free: 10.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.5711, allocations: 97.28 kB / 1.141 GB, free: 10.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.5711, allocations: 20.56 kB / 1.141 GB, free: 10.38 MB / 1.01 GB Notification: Performance of SimCode: time 9.81e-07/0.5711, allocations: 1.469 kB / 1.141 GB, free: 10.38 MB / 1.01 GB Notification: Performance of Templates: time 0.004977/0.5761, allocations: 2.721 MB / 1.144 GB, free: 10.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.446555864997208]