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.002301/0.002301, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002717/0.002717, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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 3.039/3.039, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 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.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.778e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00338/0.003408, allocations: 1.912 MB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2151/0.2185, allocations: 151.2 MB / 0.9603 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2187, allocations: 7.938 kB / 0.9603 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.2189, allocations: 23.73 kB / 0.9603 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.2192, allocations: 75.34 kB / 0.9604 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.22, allocations: 270.9 kB / 0.9606 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.2203, allocations: 271 kB / 0.9609 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2205, allocations: 46.59 kB / 0.9609 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.2224, allocations: 356 kB / 0.9613 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.2225, allocations: 71.83 kB / 0.9613 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.2226, allocations: 20 kB / 0.9614 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.223, allocations: 183.6 kB / 0.9615 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.223, allocations: 47.81 kB / 0.9616 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.2231, allocations: 63.83 kB / 0.9616 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.2237, allocations: 318.9 kB / 0.9619 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2237, allocations: 0 / 0.9619 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2237, allocations: 0 / 0.9619 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2237, allocations: 4 kB / 0.9619 GB, free: 6.895 MB / 0.9167 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.001068/0.2248, allocations: 0.5539 MB / 0.9625 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2248, allocations: 12.03 kB / 0.9625 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.226, allocations: 147.4 kB / 0.9626 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2263, allocations: 177.2 kB / 0.9628 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.2264, allocations: 67.73 kB / 0.9629 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.2265, allocations: 23.94 kB / 0.9629 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.2271, allocations: 332.6 kB / 0.9632 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2271, allocations: 0 / 0.9632 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2271, allocations: 11.94 kB / 0.9632 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2271, allocations: 4 kB / 0.9632 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.2275, allocations: 147.8 kB / 0.9634 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.2296, allocations: 1.452 MB / 0.9648 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.2304, allocations: 203.1 kB / 0.965 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2306, allocations: 63.59 kB / 0.965 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2306, allocations: 4 kB / 0.965 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.2307, allocations: 37.39 kB / 0.9651 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.2307, allocations: 0 / 0.9651 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.002723/0.2334, allocations: 468.4 kB / 0.9655 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2334, allocations: 51.41 kB / 0.9656 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.2337, allocations: 258.9 kB / 0.9658 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.2338, allocations: 29.7 kB / 0.9659 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.234, allocations: 190.9 kB / 0.966 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.2341, allocations: 47.64 kB / 0.9661 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2342, allocations: 59.23 kB / 0.9661 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002772/0.2345, allocations: 0.5001 MB / 0.9666 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.2346, allocations: 59.89 kB / 0.9667 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2349, allocations: 178.8 kB / 0.9669 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.2353, allocations: 197.4 kB / 0.967 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2354, allocations: 4 kB / 0.967 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001505/0.2369, allocations: 352.5 kB / 0.9674 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2369, allocations: 8 kB / 0.9674 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2369, allocations: 0 / 0.9674 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.2387, allocations: 263.3 kB / 0.9676 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.239, allocations: 31.98 kB / 0.9677 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.2443, allocations: 3.963 MB / 0.9715 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2446, allocations: 19.89 kB / 0.9716 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2447, allocations: 15.92 kB / 0.9716 GB, free: 12.37 MB / 0.9323 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.0001833/0.2448, allocations: 172.5 kB / 0.9717 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.2449, allocations: 19.91 kB / 0.9718 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.2462, allocations: 344.4 kB / 0.9721 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2463, allocations: 4 kB / 0.9721 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2463, allocations: 7.922 kB / 0.9721 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2463, allocations: 0 / 0.9721 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.2466, allocations: 220.4 kB / 0.9723 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2466, allocations: 4 kB / 0.9723 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2467, allocations: 23.94 kB / 0.9723 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.2481, allocations: 231.1 kB / 0.9726 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2482, allocations: 4 kB / 0.9726 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004922/0.2531, allocations: 4.005 MB / 0.9765 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2531, allocations: 0 / 0.9765 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.2544, allocations: 467 kB / 0.9769 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.2545, allocations: 31.83 kB / 0.9769 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2546, allocations: 8 kB / 0.977 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2548, allocations: 11.98 kB / 0.977 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.2549, allocations: 23.97 kB / 0.977 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.2549, allocations: 7.984 kB / 0.977 GB, free: 6.469 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2551, allocations: 175.2 kB / 0.9772 GB, free: 6.297 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2551, allocations: 0 / 0.9772 GB, free: 6.297 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004281/0.2555, allocations: 75.89 kB / 0.9772 GB, free: 6.223 MB / 0.9323 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.0002135/0.2557, allocations: 123.1 kB / 0.9774 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2569, allocations: 0.541 MB / 0.9779 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2569, allocations: 0 / 0.9779 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007891/0.2577, allocations: 478.2 kB / 0.9783 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2581, allocations: 62.23 kB / 0.9784 GB, free: 4.953 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2591, allocations: 421.2 kB / 0.9788 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.2592, allocations: 120.6 kB / 0.9789 GB, free: 4.375 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.2594, allocations: 25.48 kB / 0.9789 GB, free: 4.352 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.2594, allocations: 28.48 kB / 0.979 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of SimCode: time 4.41e-07/0.2594, allocations: 0 / 0.979 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of Templates: time 0.0112/0.2706, allocations: 5.017 MB / 0.9839 GB, free: 15.39 MB / 0.948 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 -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","/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.408667017007247]