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.001418/0.001418, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001681/0.001681, allocations: 170.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.531/1.531, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.878/2.878, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.272e-06/1.272e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.391e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003159/0.003183, allocations: 1.875 MB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.1809, allocations: 136.7 MB / 1.117 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.181, allocations: 3.938 kB / 1.117 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1812, allocations: 31.72 kB / 1.117 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1815, allocations: 79.36 kB / 1.117 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.1823, allocations: 274.9 kB / 1.117 GB, free: 500 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1826, allocations: 267 kB / 1.117 GB, free: 232 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1828, allocations: 50.53 kB / 1.117 GB, free: 180 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.1843, allocations: 305 kB / 1.118 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1844, allocations: 71.78 kB / 1.118 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.1845, allocations: 16 kB / 1.118 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.1849, allocations: 183.7 kB / 1.118 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.1849, allocations: 47.83 kB / 1.118 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.185, allocations: 63.83 kB / 1.118 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.1856, allocations: 319 kB / 1.118 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1856, allocations: 0 / 1.118 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1856, allocations: 0 / 1.118 GB, free: 15.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.1856, allocations: 0 / 1.118 GB, free: 15.21 MB / 1.076 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.001004/0.1866, allocations: 465.2 kB / 1.119 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1866, allocations: 8.031 kB / 1.119 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.1879, allocations: 123.7 kB / 1.119 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1881, allocations: 164.9 kB / 1.119 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/0.1882, allocations: 67.73 kB / 1.119 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1883, allocations: 19.94 kB / 1.119 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.1889, allocations: 318 kB / 1.12 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1889, allocations: 0 / 1.12 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1889, allocations: 4 kB / 1.12 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1889, allocations: 4 kB / 1.12 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.1894, allocations: 171.8 kB / 1.12 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1911, allocations: 1.071 MB / 1.121 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.1919, allocations: 198.6 kB / 1.121 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1921, allocations: 64.81 kB / 1.121 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1921, allocations: 0 / 1.121 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1922, allocations: 42.55 kB / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1922, allocations: 0 / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.002865/0.195, allocations: 482.7 kB / 1.121 GB, free: 11.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1951, allocations: 67.34 kB / 1.122 GB, free: 11.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1954, allocations: 182.9 kB / 1.122 GB, free: 11.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1954, allocations: 29.7 kB / 1.122 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1955, allocations: 140.2 kB / 1.122 GB, free: 11.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1956, allocations: 51.56 kB / 1.122 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1957, allocations: 45.64 kB / 1.122 GB, free: 11.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1959, allocations: 322.8 kB / 1.122 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.1961, allocations: 71.89 kB / 1.122 GB, free: 10.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.1964, allocations: 171 kB / 1.123 GB, free: 10.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.1969, allocations: 198 kB / 1.123 GB, free: 10.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.1969, allocations: 4 kB / 1.123 GB, free: 10.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00159/0.1985, allocations: 366.9 kB / 1.123 GB, free: 10.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1985, allocations: 10.34 kB / 1.123 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1985, allocations: 3.984 kB / 1.123 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.1998, allocations: 157.7 kB / 1.123 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2, allocations: 43.89 kB / 1.123 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.2045, allocations: 2.98 MB / 1.126 GB, free: 6.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.2049, allocations: 27.88 kB / 1.126 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.2049, allocations: 11.98 kB / 1.126 GB, free: 6.672 MB / 1.076 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.0001815/0.2051, allocations: 133.8 kB / 1.126 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.2052, allocations: 15.91 kB / 1.126 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2065, allocations: 368.3 kB / 1.127 GB, free: 6.145 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2065, allocations: 4 kB / 1.127 GB, free: 6.141 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2065, allocations: 3.938 kB / 1.127 GB, free: 6.137 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2066, allocations: 3.938 kB / 1.127 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.2068, allocations: 189.1 kB / 1.127 GB, free: 5.918 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2068, allocations: 0 / 1.127 GB, free: 5.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.207, allocations: 27.92 kB / 1.127 GB, free: 5.891 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/0.2079, allocations: 145.7 kB / 1.127 GB, free: 5.742 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2079, allocations: 7.984 kB / 1.127 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.2122, allocations: 3.029 MB / 1.13 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2122, allocations: 0 / 1.13 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2136, allocations: 439.6 kB / 1.13 GB, free: 2.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/0.2137, allocations: 27.88 kB / 1.13 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.2137, allocations: 8 kB / 1.13 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.214, allocations: 19.98 kB / 1.13 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.2141, allocations: 11.97 kB / 1.131 GB, free: 1.973 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.2141, allocations: 12.12 kB / 1.131 GB, free: 1.961 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001788/0.2143, allocations: 132.3 kB / 1.131 GB, free: 1.832 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2143, allocations: 0 / 1.131 GB, free: 1.832 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005105/0.2148, allocations: 87.75 kB / 1.131 GB, free: 1.746 MB / 1.076 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.0002509/0.215, allocations: 111.2 kB / 1.131 GB, free: 1.629 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.2162, allocations: 437.7 kB / 1.131 GB, free: 1.176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2162, allocations: 4 kB / 1.131 GB, free: 1.172 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.2169, allocations: 349.1 kB / 1.132 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.2174, allocations: 59.58 kB / 1.132 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2184, allocations: 405.9 kB / 1.132 GB, free: 328 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2186, allocations: 124.6 kB / 1.132 GB, free: 188 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2187, allocations: 33.45 kB / 1.132 GB, free: 152 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.2188, allocations: 20.5 kB / 1.132 GB, free: 132 kB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.2188, allocations: 0 / 1.132 GB, free: 132 kB / 1.076 GB Notification: Performance of Templates: time 0.4964/0.7152, allocations: 4.875 MB / 1.137 GB, free: 195.3 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.92070596665144]