Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001843, allocations: 109 kB / 17.08 MB, free: 5.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 195.6 kB / 20.03 MB, free: 2.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 71.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05159/1.151, allocations: 41.19 MB / 1.303 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0319/1.183, allocations: 15.09 MB / 1.318 GB, free: 1.754 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007026/1.19, allocations: 188.2 kB / 1.318 GB, free: 1.695 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01368/1.204, allocations: 4.463 MB / 1.322 GB, free: 15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.215, allocations: 2.79 MB / 1.325 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01132/1.226, allocations: 3.144 MB / 1.328 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02205/1.249, allocations: 11.42 MB / 1.339 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02284/1.271, allocations: 12.45 MB / 1.351 GB, free: 1.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/1.284, allocations: 4.813 MB / 1.356 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/1.297, allocations: 5.396 MB / 1.361 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004714/1.302, allocations: 0.9532 MB / 1.362 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009374/1.311, allocations: 2.043 MB / 1.364 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.008865/1.32, allocations: 3.694 MB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01564/1.336, allocations: 4.295 MB / 1.372 GB, free: 5.953 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03119/1.367, allocations: 14.32 MB / 1.386 GB, free: 10.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/1.367, allocations: 0 / 1.386 GB, free: 10.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.487e-06/1.367, allocations: 0 / 1.386 GB, free: 10.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0006825/1.368, allocations: 0 / 1.386 GB, free: 10.07 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03037/1.398, allocations: 7.798 MB / 1.393 GB, free: 2.184 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/1.398, allocations: 8.031 kB / 1.393 GB, free: 2.176 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/1.411, allocations: 1.55 MB / 1.395 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.423, allocations: 4.469 MB / 1.399 GB, free: 12.08 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/1.424, allocations: 456.5 kB / 1.4 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/1.427, allocations: 0.5979 MB / 1.4 GB, free: 11.03 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/1.458, allocations: 10.69 MB / 1.411 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004171/1.459, allocations: 31.72 kB / 1.411 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00266/1.462, allocations: 259.9 kB / 1.411 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003327/1.465, allocations: 0.7729 MB / 1.412 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/1.487, allocations: 8.557 MB / 1.42 GB, free: 6.32 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0786/1.566, allocations: 46.62 MB / 1.466 GB, free: 3.949 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007309/1.573, allocations: 4.312 MB / 1.47 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006707/1.58, allocations: 3.712 MB / 1.474 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/1.58, allocations: 38.78 kB / 1.474 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/1.58, allocations: 73.34 kB / 1.474 GB, free: 11.79 MB / 1.17 GB Notification: Performance of pre-optimization done (n=353): time 6.102e-06/1.58, allocations: 0 / 1.474 GB, free: 11.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=578): time 0.5517/2.132, allocations: 122.9 MB / 1.594 GB, free: 40 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/2.132, allocations: 107.9 kB / 1.594 GB, free: 15.92 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/2.137, allocations: 2.685 MB / 1.596 GB, free: 13.23 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/2.138, allocations: 125.7 kB / 1.597 GB, free: 13.11 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/2.14, allocations: 2.746 MB / 1.599 GB, free: 10.34 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.003108/2.144, allocations: 2.049 MB / 1.601 GB, free: 8.27 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/2.146, allocations: 0.929 MB / 1.602 GB, free: 7.332 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000155/2.146, allocations: 309.1 kB / 1.602 GB, free: 7.027 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006676/2.152, allocations: 4.075 MB / 1.606 GB, free: 2.945 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007742/2.16, allocations: 5.019 MB / 1.611 GB, free: 13.6 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/2.178, allocations: 9.84 MB / 1.621 GB, free: 3.383 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/2.178, allocations: 8 kB / 1.621 GB, free: 3.375 MB / 1.311 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04404/2.222, allocations: 17.02 MB / 1.638 GB, free: 2.227 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/2.222, allocations: 16 kB / 1.638 GB, free: 2.211 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/2.222, allocations: 20 kB / 1.638 GB, free: 2.191 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03432/2.256, allocations: 9.085 MB / 1.646 GB, free: 9.062 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/2.259, allocations: 0.5226 MB / 1.647 GB, free: 8.539 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1226/2.381, allocations: 77.04 MB / 1.722 GB, free: 9.918 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006189/2.388, allocations: 275.9 kB / 1.722 GB, free: 9.648 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/2.389, allocations: 192 kB / 1.723 GB, free: 9.461 MB / 1.42 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006788/2.396, allocations: 2.433 MB / 1.725 GB, free: 7.016 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/2.397, allocations: 493 kB / 1.726 GB, free: 6.531 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04422/2.442, allocations: 16.82 MB / 1.742 GB, free: 5.566 MB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.2e-05/2.442, allocations: 52 kB / 1.742 GB, free: 5.516 MB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003579/2.442, allocations: 72 kB / 1.742 GB, free: 5.445 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001927/2.442, allocations: 27.89 kB / 1.742 GB, free: 5.418 MB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06617/2.509, allocations: 25.66 MB / 1.767 GB, free: 11.45 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.428e-05/2.509, allocations: 8 kB / 1.767 GB, free: 11.44 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/2.511, allocations: 323.5 kB / 1.767 GB, free: 11.12 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0314/2.542, allocations: 8.274 MB / 1.776 GB, free: 2.809 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/2.544, allocations: 100 kB / 1.776 GB, free: 2.711 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9536/3.497, allocations: 73.91 MB / 1.848 GB, free: 490.4 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/3.497, allocations: 13.09 kB / 1.848 GB, free: 490.4 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04972/3.547, allocations: 21.59 MB / 1.869 GB, free: 487 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004401/3.551, allocations: 1.385 MB / 1.87 GB, free: 486.5 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/3.553, allocations: 106.8 kB / 1.87 GB, free: 486.4 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004801/3.558, allocations: 289.6 kB / 1.871 GB, free: 486.3 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002656/3.561, allocations: 0.5219 MB / 1.871 GB, free: 486.2 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007309/3.562, allocations: 141.5 kB / 1.871 GB, free: 486.2 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.00362/3.565, allocations: 1.778 MB / 1.873 GB, free: 485.6 MB / 1.529 GB Notification: Performance of sort global known variables: time 5.41e-07/3.565, allocations: 0 / 1.873 GB, free: 485.6 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.0109/3.576, allocations: 2.463 MB / 1.875 GB, free: 485.3 MB / 1.529 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/3.578, allocations: 244.6 kB / 1.876 GB, free: 485.1 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.02812/3.606, allocations: 14.58 MB / 1.89 GB, free: 478.4 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-05/3.606, allocations: 2.156 kB / 1.89 GB, free: 478.4 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.02011/3.626, allocations: 9.399 MB / 1.899 GB, free: 473.8 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00875/3.635, allocations: 1.376 MB / 1.9 GB, free: 473.3 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/3.671, allocations: 16.69 MB / 1.917 GB, free: 465.8 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009462/3.681, allocations: 4.995 MB / 1.922 GB, free: 464.2 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/3.682, allocations: 214.4 kB / 1.922 GB, free: 464.2 MB / 1.529 GB Notification: Performance of SimCode: time 1.002e-06/3.682, allocations: 0 / 1.922 GB, free: 464.2 MB / 1.529 GB Notification: Performance of Templates: time 0.4036/4.086, allocations: 475 MB / 2.386 GB, free: 13.99 MB / 1.529 GB " [Timeout remaining time 296] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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: 35.13134444109164]