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.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.001109/0.001109, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.002886, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001123/0.001123, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002659, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9511/0.9511, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0923/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.909/1.909, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4976/2.406, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_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 2.374e-06/2.374e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.321e-05, allocations: 2.938 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003797/0.003831, allocations: 1.761 MB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.138, allocations: 143.5 MB / 0.8715 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.1381, allocations: 3.938 kB / 0.8715 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1382, allocations: 11.86 kB / 0.8715 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1384, allocations: 55.56 kB / 0.8716 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1388, allocations: 195.1 kB / 0.8717 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.139, allocations: 159.4 kB / 0.8719 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1391, allocations: 25.94 kB / 0.8719 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.1401, allocations: 292.6 kB / 0.8722 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.1402, allocations: 47.88 kB / 0.8722 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1402, allocations: 8 kB / 0.8723 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.1405, allocations: 179.6 kB / 0.8724 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.1405, allocations: 15.94 kB / 0.8724 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1406, allocations: 27.94 kB / 0.8725 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1409, allocations: 175.4 kB / 0.8726 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.1409, allocations: 0 / 0.8726 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1409, allocations: 0 / 0.8726 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1409, allocations: 0 / 0.8726 GB, free: 1.719 MB / 0.8386 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.0005701/0.1414, allocations: 403.7 kB / 0.873 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1415, allocations: 8.031 kB / 0.873 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.1419, allocations: 165.8 kB / 0.8732 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1421, allocations: 145.6 kB / 0.8733 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1421, allocations: 12.12 kB / 0.8733 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1421, allocations: 4 kB / 0.8733 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1423, allocations: 160.3 kB / 0.8735 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1424, allocations: 0 / 0.8735 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1424, allocations: 4 kB / 0.8735 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1424, allocations: 4 kB / 0.8735 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.1424, allocations: 47.89 kB / 0.8735 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.143, allocations: 0.5854 MB / 0.8741 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1431, allocations: 74.53 kB / 0.8742 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.1431, allocations: 24.8 kB / 0.8742 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1432, allocations: 0 / 0.8742 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1432, allocations: 38.56 kB / 0.8743 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1432, allocations: 0 / 0.8743 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006098/0.1438, allocations: 217.2 kB / 0.8745 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1438, allocations: 55.39 kB / 0.8745 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.1439, allocations: 144.9 kB / 0.8747 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1439, allocations: 25.7 kB / 0.8747 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.144, allocations: 112 kB / 0.8748 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.144, allocations: 23.75 kB / 0.8748 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.144, allocations: 33.67 kB / 0.8748 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.1441, allocations: 326.8 kB / 0.8751 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.1441, allocations: 12 kB / 0.8752 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.1442, allocations: 60.16 kB / 0.8752 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.1443, allocations: 87.3 kB / 0.8753 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1443, allocations: 0 / 0.8753 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000304/0.1446, allocations: 161 kB / 0.8755 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1446, allocations: 8 kB / 0.8755 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1446, allocations: 0 / 0.8755 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.145, allocations: 131.7 kB / 0.8756 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1451, allocations: 31.95 kB / 0.8756 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1462, allocations: 1.329 MB / 0.8769 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.1463, allocations: 27.91 kB / 0.8769 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1463, allocations: 4 kB / 0.8769 GB, free: 12.96 MB / 0.8542 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 7.147e-05/0.1464, allocations: 116.7 kB / 0.8771 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1464, allocations: 8 kB / 0.8771 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1467, allocations: 185.7 kB / 0.8772 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1467, allocations: 4 kB / 0.8772 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1467, allocations: 0 / 0.8772 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1467, allocations: 0 / 0.8772 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1469, allocations: 121.7 kB / 0.8774 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1469, allocations: 0 / 0.8774 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.147, allocations: 27.97 kB / 0.8774 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.147, allocations: 15.88 kB / 0.8774 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.1473, allocations: 118.3 kB / 0.8775 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1473, allocations: 4 kB / 0.8775 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009571/0.1483, allocations: 1.339 MB / 0.8788 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1483, allocations: 3.984 kB / 0.8788 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1486, allocations: 248.1 kB / 0.8791 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1486, allocations: 4.094 kB / 0.8791 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1486, allocations: 19.98 kB / 0.8791 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1487, allocations: 7.984 kB / 0.8791 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1487, allocations: 11.92 kB / 0.8791 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.1487, allocations: 28.83 kB / 0.8791 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1487, allocations: 0 / 0.8791 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002085/0.1489, allocations: 43.94 kB / 0.8792 GB, free: 10.5 MB / 0.8542 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.00016/0.1491, allocations: 100.3 kB / 0.8793 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1494, allocations: 211.3 kB / 0.8795 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.1494, allocations: 4 kB / 0.8795 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1495, allocations: 195.6 kB / 0.8797 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.1497, allocations: 87.38 kB / 0.8798 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1508, allocations: 303.6 kB / 0.88 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.1509, allocations: 71.83 kB / 0.8801 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.284e-05/0.151, allocations: 24.42 kB / 0.8801 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1511, allocations: 67.36 kB / 0.8802 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.1511, allocations: 0 / 0.8802 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of Templates: time 0.004898/0.156, allocations: 3.29 MB / 0.8834 GB, free: 6.113 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.094711542129517]