Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001405/0.001405, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.001872/0.001872, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.906/2.906, allocations: 389 MB / 0.633 GB, free: 0.9453 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.944e-05, allocations: 2.281 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01795/0.01798, allocations: 13.1 MB / 1.013 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.03399, allocations: 8.994 MB / 1.022 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.03554, allocations: 95.19 kB / 1.022 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005104/0.04064, allocations: 1.665 MB / 1.023 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004869/0.04551, allocations: 1.639 MB / 1.025 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.04759, allocations: 0.763 MB / 1.026 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.05121, allocations: 2.601 MB / 1.028 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.05301, allocations: 1.184 MB / 1.029 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.05539, allocations: 1.582 MB / 1.031 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.05699, allocations: 0.9583 MB / 1.032 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.05727, allocations: 160 kB / 1.032 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.05878, allocations: 0.7326 MB / 1.033 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007045/0.05948, allocations: 0.6503 MB / 1.033 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008846/0.06037, allocations: 0.6351 MB / 1.034 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.06391, allocations: 2.773 MB / 1.037 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.06391, allocations: 0 / 1.037 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.542e-06/0.06392, allocations: 0 / 1.037 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.743e-05/0.06395, allocations: 8 kB / 1.037 GB, free: 1.539 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004303/0.06826, allocations: 2.093 MB / 1.039 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.0683, allocations: 8.031 kB / 1.039 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.08097, allocations: 2.094 MB / 1.041 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.08347, allocations: 1.18 MB / 1.042 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.08355, allocations: 86.73 kB / 1.042 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.08383, allocations: 120.3 kB / 1.042 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/0.09052, allocations: 2.886 MB / 1.045 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.09057, allocations: 11.88 kB / 1.045 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.09076, allocations: 55.98 kB / 1.045 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007082/0.09147, allocations: 182.1 kB / 1.045 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.09971, allocations: 2.795 MB / 1.048 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/0.1147, allocations: 8.113 MB / 1.056 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007549/0.1222, allocations: 2.219 MB / 1.058 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.1257, allocations: 1.213 MB / 1.059 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.1258, allocations: 9 kB / 1.059 GB, free: 10 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.126, allocations: 43.56 kB / 1.059 GB, free: 9.949 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 4.488e-06/0.126, allocations: 4 kB / 1.059 GB, free: 9.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.05074/0.1767, allocations: 12.65 MB / 1.072 GB, free: 13.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1768, allocations: 64.72 kB / 1.072 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.1781, allocations: 0.9912 MB / 1.073 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.1783, allocations: 45.7 kB / 1.073 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.1789, allocations: 0.7277 MB / 1.073 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.1794, allocations: 467.9 kB / 1.074 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005495/0.1799, allocations: 263.5 kB / 1.074 GB, free: 10.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1801, allocations: 361.9 kB / 1.075 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/0.1838, allocations: 1.342 MB / 1.076 GB, free: 8.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.1878, allocations: 1.592 MB / 1.077 GB, free: 7.258 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00795/0.1957, allocations: 2.994 MB / 1.08 GB, free: 4.168 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.1957, allocations: 4 kB / 1.08 GB, free: 4.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01276/0.2085, allocations: 4.389 MB / 1.085 GB, free: 15.72 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.2085, allocations: 8 kB / 1.085 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2085, allocations: 8 kB / 1.085 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.2141, allocations: 1.435 MB / 1.086 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.2164, allocations: 443.1 kB / 1.086 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02993/0.2463, allocations: 24.79 MB / 1.111 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.2491, allocations: 299.7 kB / 1.111 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.2493, allocations: 67.95 kB / 1.111 GB, free: 3.312 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008901/0.2501, allocations: 437.5 kB / 1.111 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.2505, allocations: 159 kB / 1.112 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.2634, allocations: 4.389 MB / 1.116 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.2634, allocations: 12 kB / 1.116 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/0.2634, allocations: 12 kB / 1.116 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.2634, allocations: 11.92 kB / 1.116 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.28, allocations: 6.129 MB / 1.122 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.28, allocations: 8 kB / 1.122 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/0.2821, allocations: 379.3 kB / 1.122 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.2873, allocations: 1.307 MB / 1.124 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.2875, allocations: 39.91 kB / 1.124 GB, free: 6.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5354/0.8229, allocations: 23.66 MB / 1.147 GB, free: 147.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8229, allocations: 2.281 kB / 1.147 GB, free: 147.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.8333, allocations: 4.143 MB / 1.151 GB, free: 146.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/0.8342, allocations: 370.6 kB / 1.151 GB, free: 146.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.8345, allocations: 23.84 kB / 1.151 GB, free: 146.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/0.8366, allocations: 310.1 kB / 1.151 GB, free: 146.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.837, allocations: 143.2 kB / 1.152 GB, free: 146.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8372, allocations: 47.02 kB / 1.152 GB, free: 146.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006994/0.8379, allocations: 0.6464 MB / 1.152 GB, free: 145.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8379, allocations: 2.719 kB / 1.152 GB, free: 145.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001801/0.8397, allocations: 0.5692 MB / 1.153 GB, free: 145.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.8399, allocations: 138.7 kB / 1.153 GB, free: 145.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009813/0.8498, allocations: 4.946 MB / 1.158 GB, free: 143.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8498, allocations: 0 / 1.158 GB, free: 143.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/0.856, allocations: 3.421 MB / 1.161 GB, free: 141.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.8582, allocations: 0.5154 MB / 1.162 GB, free: 141.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.8659, allocations: 4.005 MB / 1.165 GB, free: 139.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/0.8668, allocations: 0.891 MB / 1.166 GB, free: 139.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001366/0.8682, allocations: 409.3 kB / 1.167 GB, free: 139.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.8685, allocations: 105.4 kB / 1.167 GB, free: 139.2 MB / 1.076 GB Notification: Performance of SimCode: time 1.182e-06/0.8685, allocations: 0 / 1.167 GB, free: 139.2 MB / 1.076 GB Notification: Performance of Templates: time 0.06601/0.9346, allocations: 40.17 MB / 1.206 GB, free: 131.1 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.225168343633413]