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.00079/0.00079, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001883, allocations: 449.8 kB / 10.44 MB, free: 248 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.0006997/0.0006997, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00094/0.00164, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.9616/0.9616, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08988/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.85/1.85, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.499/2.349, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.373e-06/1.373e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.163e-05, allocations: 10.19 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002172/0.002184, allocations: 1.998 MB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.1347, allocations: 147.5 MB / 0.8756 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1349, allocations: 0 / 0.8756 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.135, allocations: 35.66 kB / 0.8756 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1352, allocations: 79.36 kB / 0.8757 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.1359, allocations: 255 kB / 0.876 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.1362, allocations: 275 kB / 0.8762 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1364, allocations: 51.25 kB / 0.8763 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.1374, allocations: 369.8 kB / 0.8766 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1375, allocations: 67.84 kB / 0.8767 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1375, allocations: 19.94 kB / 0.8767 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1378, allocations: 187.7 kB / 0.8769 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.1379, allocations: 31.88 kB / 0.8769 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.1379, allocations: 51.88 kB / 0.877 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1383, allocations: 223.2 kB / 0.8772 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.1383, allocations: 4 kB / 0.8772 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1383, allocations: 4 kB / 0.8772 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.1383, allocations: 0 / 0.8772 GB, free: 13.1 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.000612/0.1389, allocations: 495.6 kB / 0.8777 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1389, allocations: 16.03 kB / 0.8777 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006704/0.1396, allocations: 228.8 kB / 0.8779 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1398, allocations: 163 kB / 0.878 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.1399, allocations: 67.72 kB / 0.8781 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1399, allocations: 16 kB / 0.8781 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1401, allocations: 274.7 kB / 0.8784 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1402, allocations: 0 / 0.8784 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1402, allocations: 11.98 kB / 0.8784 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1402, allocations: 7.938 kB / 0.8784 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.1403, allocations: 75.81 kB / 0.8785 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.1411, allocations: 0.941 MB / 0.8794 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.1414, allocations: 133.3 kB / 0.8795 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.1414, allocations: 32.84 kB / 0.8796 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1414, allocations: 3.938 kB / 0.8796 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1415, allocations: 34.56 kB / 0.8796 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1415, allocations: 0 / 0.8796 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.00092/0.1424, allocations: 357.7 kB / 0.8799 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1424, allocations: 55.41 kB / 0.88 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1425, allocations: 183.2 kB / 0.8802 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1426, allocations: 25.7 kB / 0.8802 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1426, allocations: 140.2 kB / 0.8803 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1426, allocations: 43.62 kB / 0.8804 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.1427, allocations: 49.62 kB / 0.8804 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.1428, allocations: 326.8 kB / 0.8807 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.1428, allocations: 19.98 kB / 0.8807 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.1429, allocations: 74.83 kB / 0.8808 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.143, allocations: 131.9 kB / 0.8809 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.143, allocations: 0 / 0.8809 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004787/0.1435, allocations: 253.9 kB / 0.8812 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1435, allocations: 4 kB / 0.8812 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1435, allocations: 7.984 kB / 0.8812 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.1442, allocations: 236.3 kB / 0.8814 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1443, allocations: 39.89 kB / 0.8815 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.1463, allocations: 2.65 MB / 0.884 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1464, allocations: 15.89 kB / 0.8841 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1464, allocations: 11.98 kB / 0.8841 GB, free: 5.527 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.1465, allocations: 120.6 kB / 0.8842 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1465, allocations: 15.92 kB / 0.8842 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.147, allocations: 259.3 kB / 0.8844 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.147, allocations: 0 / 0.8844 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.147, allocations: 0 / 0.8844 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.147, allocations: 11.86 kB / 0.8845 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1471, allocations: 133.8 kB / 0.8846 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1471, allocations: 0 / 0.8846 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.1472, allocations: 19.98 kB / 0.8846 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1472, allocations: 27.83 kB / 0.8846 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.1477, allocations: 219.1 kB / 0.8848 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1477, allocations: 0 / 0.8848 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.1494, allocations: 2.663 MB / 0.8874 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1494, allocations: 0 / 0.8874 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1498, allocations: 324.5 kB / 0.8877 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1498, allocations: 4 kB / 0.8878 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.1499, allocations: 11.98 kB / 0.8878 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.15, allocations: 23.91 kB / 0.8878 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.15, allocations: 4 kB / 0.8878 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.1501, allocations: 50.66 kB / 0.8878 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1501, allocations: 0 / 0.8878 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002837/0.1503, allocations: 79.88 kB / 0.8879 GB, free: 1.32 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.0001623/0.1505, allocations: 88.36 kB / 0.888 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.1509, allocations: 375.9 kB / 0.8884 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.151, allocations: 0 / 0.8884 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.1512, allocations: 341.2 kB / 0.8887 GB, free: 484 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1515, allocations: 111.5 kB / 0.8888 GB, free: 368 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1532, allocations: 433.9 kB / 0.8892 GB, free: 15.91 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.1532, allocations: 80.31 kB / 0.8893 GB, free: 15.81 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 9.869e-05/0.1533, allocations: 25.48 kB / 0.8893 GB, free: 15.78 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1535, allocations: 95.28 kB / 0.8894 GB, free: 15.69 MB / 0.8699 GB Notification: Performance of SimCode: time 8.62e-07/0.1535, allocations: 0 / 0.8894 GB, free: 15.69 MB / 0.8699 GB Notification: Performance of Templates: time 0.007183/0.1606, allocations: 5.297 MB / 0.8946 GB, free: 10.46 MB / 0.8699 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127180106006563]