Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001595/0.00274, allocations: 449.7 kB / 10.37 MB, free: 328 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.001125/0.001125, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002548, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9344/0.9344, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08421/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.872/1.872, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4869/2.359, allocations: 123.3 MB / 0.728 GB, free: 5.828 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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.081e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002011/0.002021, allocations: 1.989 MB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1303/0.1324, allocations: 147.5 MB / 0.8753 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1325, allocations: 0 / 0.8753 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1327, allocations: 31.67 kB / 0.8753 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1329, allocations: 75.34 kB / 0.8754 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.1335, allocations: 259 kB / 0.8756 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1337, allocations: 267 kB / 0.8759 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1339, allocations: 47.25 kB / 0.8759 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.1349, allocations: 376.5 kB / 0.8763 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.135, allocations: 75.78 kB / 0.8764 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.135, allocations: 12 kB / 0.8764 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.1353, allocations: 191.6 kB / 0.8765 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1354, allocations: 27.88 kB / 0.8766 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.1354, allocations: 51.88 kB / 0.8766 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1358, allocations: 231.2 kB / 0.8768 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.1358, allocations: 3.984 kB / 0.8768 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1358, allocations: 3.938 kB / 0.8769 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.1358, allocations: 0 / 0.8769 GB, free: 13.21 MB / 0.8542 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.0006194/0.1364, allocations: 495.6 kB / 0.8773 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1365, allocations: 8.031 kB / 0.8773 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/0.1371, allocations: 232.8 kB / 0.8776 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1373, allocations: 156.9 kB / 0.8777 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.1374, allocations: 75.67 kB / 0.8778 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1374, allocations: 12 kB / 0.8778 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.1377, allocations: 282.6 kB / 0.8781 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1377, allocations: 0 / 0.8781 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1377, allocations: 4 kB / 0.8781 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1377, allocations: 11.94 kB / 0.8781 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.1378, allocations: 80.88 kB / 0.8781 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.1386, allocations: 0.9448 MB / 0.8791 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.1389, allocations: 129.3 kB / 0.8792 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.139, allocations: 28.84 kB / 0.8792 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.139, allocations: 7.938 kB / 0.8792 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.139, allocations: 34.56 kB / 0.8793 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.139, allocations: 0 / 0.8793 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0009369/0.14, allocations: 349.7 kB / 0.8796 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.14, allocations: 59.39 kB / 0.8797 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1401, allocations: 182.4 kB / 0.8798 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1401, allocations: 33.7 kB / 0.8799 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1402, allocations: 136.2 kB / 0.88 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1402, allocations: 43.64 kB / 0.88 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.1403, allocations: 49.56 kB / 0.8801 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.1403, allocations: 326.8 kB / 0.8804 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.1404, allocations: 19.98 kB / 0.8804 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.089e-05/0.1404, allocations: 77.08 kB / 0.8805 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1405, allocations: 125.5 kB / 0.8806 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1405, allocations: 4 kB / 0.8806 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004737/0.141, allocations: 246 kB / 0.8808 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.141, allocations: 7.938 kB / 0.8808 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.141, allocations: 4 kB / 0.8809 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.1417, allocations: 240.3 kB / 0.8811 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1418, allocations: 35.97 kB / 0.8811 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.1437, allocations: 2.65 MB / 0.8837 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1439, allocations: 19.89 kB / 0.8837 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1439, allocations: 11.98 kB / 0.8837 GB, free: 5.648 MB / 0.8542 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 8.372e-05/0.144, allocations: 124.6 kB / 0.8839 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.144, allocations: 15.92 kB / 0.8839 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.1444, allocations: 261.6 kB / 0.8841 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1444, allocations: 0 / 0.8841 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1444, allocations: 8 kB / 0.8841 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1444, allocations: 0 / 0.8841 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1446, allocations: 125.8 kB / 0.8842 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1446, allocations: 0 / 0.8842 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.1446, allocations: 27.92 kB / 0.8843 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.1447, allocations: 23.84 kB / 0.8843 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.1452, allocations: 211.1 kB / 0.8845 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1452, allocations: 11.98 kB / 0.8845 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.1468, allocations: 2.659 MB / 0.8871 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1468, allocations: 0 / 0.8871 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.1472, allocations: 330.4 kB / 0.8874 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1472, allocations: 4 kB / 0.8874 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-05/0.1473, allocations: 11.94 kB / 0.8874 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.1474, allocations: 19.95 kB / 0.8875 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1474, allocations: 4 kB / 0.8875 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.1474, allocations: 46.14 kB / 0.8875 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1474, allocations: 0 / 0.8875 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002672/0.1477, allocations: 75.89 kB / 0.8876 GB, free: 1.449 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 (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.0001517/0.1479, allocations: 110.8 kB / 0.8877 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1483, allocations: 357.9 kB / 0.888 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.1483, allocations: 0 / 0.888 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.1485, allocations: 327 kB / 0.8883 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1488, allocations: 67.84 kB / 0.8884 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1505, allocations: 442.1 kB / 0.8888 GB, free: 84 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.1505, allocations: 76.33 kB / 0.8889 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.912e-05/0.1506, allocations: 29.47 kB / 0.8889 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1508, allocations: 99.28 kB / 0.889 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of SimCode: time 6.12e-07/0.1508, allocations: 0 / 0.889 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of Templates: time 0.00675/0.1575, allocations: 5.355 MB / 0.8942 GB, free: 10.57 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.277061140164733]