Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00169/0.00169, allocations: 81.42 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.002084/0.002084, allocations: 162 kB / 22.45 MB, free: 5.359 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.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.822/2.822, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.261e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04123/0.04125, allocations: 33 MB / 1.014 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.05912, allocations: 9.878 MB / 1.023 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.06212, allocations: 190.6 kB / 1.023 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.07286, allocations: 3.835 MB / 1.027 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.07912, allocations: 2.206 MB / 1.029 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005508/0.08463, allocations: 1.987 MB / 1.031 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.09542, allocations: 8.129 MB / 1.039 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008869/0.1043, allocations: 5.253 MB / 1.044 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009262/0.1135, allocations: 4.892 MB / 1.049 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006605/0.1202, allocations: 3.452 MB / 1.053 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/0.1219, allocations: 0.6797 MB / 1.053 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004227/0.1261, allocations: 1.377 MB / 1.055 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.13, allocations: 2.802 MB / 1.057 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004549/0.1346, allocations: 2.172 MB / 1.059 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.1482, allocations: 10.58 MB / 1.07 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1482, allocations: 0 / 1.07 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1482, allocations: 0 / 1.07 GB, free: 1.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002576/0.1484, allocations: 0 / 1.07 GB, free: 1.148 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01311/0.1615, allocations: 5.404 MB / 1.075 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1616, allocations: 8.031 kB / 1.075 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.1668, allocations: 0.9968 MB / 1.076 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006797/0.1736, allocations: 3.135 MB / 1.079 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.174, allocations: 361.9 kB / 1.079 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.1751, allocations: 468.3 kB / 1.08 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.1919, allocations: 8.663 MB / 1.088 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.192, allocations: 23.94 kB / 1.088 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005916/0.1926, allocations: 212.3 kB / 1.089 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.1932, allocations: 369 kB / 1.089 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.2065, allocations: 5.937 MB / 1.095 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.2415, allocations: 22.9 MB / 1.117 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.245, allocations: 1.987 MB / 1.119 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.2471, allocations: 1.33 MB / 1.12 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.2472, allocations: 21.25 kB / 1.12 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.87e-05/0.2473, allocations: 51.88 kB / 1.12 GB, free: 11.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=157): time 4.759e-06/0.2473, allocations: 0 / 1.12 GB, free: 11.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=160): time 0.01467/0.262, allocations: 6.648 MB / 1.127 GB, free: 5.246 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.262, allocations: 68.72 kB / 1.127 GB, free: 5.164 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.2645, allocations: 1.701 MB / 1.129 GB, free: 3.426 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.2646, allocations: 65.64 kB / 1.129 GB, free: 3.355 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.2664, allocations: 2.191 MB / 1.131 GB, free: 1.145 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.2669, allocations: 0.5693 MB / 1.131 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.2676, allocations: 411.9 kB / 1.132 GB, free: 164 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.5078/0.7754, allocations: 301.1 kB / 1.132 GB, free: 177.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.7771, allocations: 1.062 MB / 1.133 GB, free: 177.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.7785, allocations: 1.76 MB / 1.135 GB, free: 176.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.7813, allocations: 3.049 MB / 1.138 GB, free: 174.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.7813, allocations: 6.25 kB / 1.138 GB, free: 174.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005488/0.7868, allocations: 3.887 MB / 1.142 GB, free: 173 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.7868, allocations: 14.53 kB / 1.142 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.7869, allocations: 25.31 kB / 1.142 GB, free: 173 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.7891, allocations: 0.9242 MB / 1.143 GB, free: 172.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.7904, allocations: 433.4 kB / 1.143 GB, free: 172.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.805, allocations: 21.1 MB / 1.164 GB, free: 155.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.8068, allocations: 120.8 kB / 1.164 GB, free: 155.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.8069, allocations: 98.33 kB / 1.164 GB, free: 155.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002128/0.8091, allocations: 1.643 MB / 1.165 GB, free: 154.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.8094, allocations: 247 kB / 1.166 GB, free: 154.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.8139, allocations: 3.231 MB / 1.169 GB, free: 153.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.8139, allocations: 19.69 kB / 1.169 GB, free: 153.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.8139, allocations: 10.5 kB / 1.169 GB, free: 153.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.8139, allocations: 6.797 kB / 1.169 GB, free: 153.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.8242, allocations: 6.443 MB / 1.175 GB, free: 150.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.8242, allocations: 4.281 kB / 1.175 GB, free: 150.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/0.8251, allocations: 221.8 kB / 1.175 GB, free: 150.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.8274, allocations: 0.8921 MB / 1.176 GB, free: 150.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.8275, allocations: 31 kB / 1.176 GB, free: 150.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.8434, allocations: 21.07 MB / 1.197 GB, free: 132.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.8434, allocations: 8.906 kB / 1.197 GB, free: 132.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.8487, allocations: 3.331 MB / 1.2 GB, free: 131.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.8497, allocations: 457.4 kB / 1.2 GB, free: 131.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.85, allocations: 42.45 kB / 1.2 GB, free: 131.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8511, allocations: 87.77 kB / 1.201 GB, free: 131.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/0.8515, allocations: 153.5 kB / 1.201 GB, free: 131 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.8516, allocations: 43.91 kB / 1.201 GB, free: 131 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001565/0.8532, allocations: 1.094 MB / 1.202 GB, free: 130.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8532, allocations: 0 / 1.202 GB, free: 130.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002836/0.856, allocations: 0.9007 MB / 1.203 GB, free: 130.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.8563, allocations: 154.1 kB / 1.203 GB, free: 130.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005864/0.8622, allocations: 4.287 MB / 1.207 GB, free: 128 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8622, allocations: 1.438 kB / 1.207 GB, free: 128 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003671/0.8658, allocations: 2.906 MB / 1.21 GB, free: 126 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.8689, allocations: 0.758 MB / 1.211 GB, free: 125.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.8822, allocations: 7.785 MB / 1.218 GB, free: 122.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/0.8861, allocations: 2.669 MB / 1.221 GB, free: 121.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00177/0.8878, allocations: 0.5119 MB / 1.221 GB, free: 121.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.8882, allocations: 132 kB / 1.221 GB, free: 121.4 MB / 1.076 GB Notification: Performance of SimCode: time 9.41e-07/0.8882, allocations: 0 / 1.221 GB, free: 121.4 MB / 1.076 GB Notification: Performance of Templates: time 0.06508/0.9533, allocations: 42.17 MB / 1.263 GB, free: 95.21 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 9.968649096786976]