Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,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_9_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=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 193.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.12 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8036, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04314/0.8468, allocations: 40.82 MB / 0.9888 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0272/0.8741, allocations: 15.05 MB / 1.003 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007303/0.8814, allocations: 171 kB / 1.004 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.8929, allocations: 4.144 MB / 1.008 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.903, allocations: 2.632 MB / 1.01 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.914, allocations: 2.886 MB / 1.013 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02011/0.9342, allocations: 16 MB / 1.029 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02506/0.9593, allocations: 13.66 MB / 1.042 GB, free: 2.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009063/0.9684, allocations: 4.098 MB / 1.046 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.9821, allocations: 5.479 MB / 1.051 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.004032/0.9861, allocations: 0.6094 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007821/0.994, allocations: 2.044 MB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.007228/1.001, allocations: 3.363 MB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/1.012, allocations: 3.92 MB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01925/1.031, allocations: 14.03 MB / 1.075 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.031, allocations: 0 / 1.075 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.143e-06/1.031, allocations: 3.938 kB / 1.075 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0005543/1.032, allocations: 0 / 1.075 GB, free: 0.7773 MB / 0.8262 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.02509/1.057, allocations: 7.596 MB / 1.082 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.057, allocations: 8.031 kB / 1.082 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/1.069, allocations: 1.518 MB / 1.084 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.079, allocations: 4.205 MB / 1.088 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/1.08, allocations: 452.5 kB / 1.088 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/1.084, allocations: 0.5978 MB / 1.089 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/1.112, allocations: 10.69 MB / 1.099 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.112, allocations: 27.72 kB / 1.099 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002108/1.115, allocations: 267.9 kB / 1.1 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/1.117, allocations: 0.7729 MB / 1.1 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/1.136, allocations: 8.557 MB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07152/1.208, allocations: 46.86 MB / 1.154 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/1.214, allocations: 4.316 MB / 1.159 GB, free: 6.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005891/1.22, allocations: 3.701 MB / 1.162 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/1.221, allocations: 38.72 kB / 1.162 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.994e-05/1.221, allocations: 77.34 kB / 1.162 GB, free: 2.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=353): time 6.843e-06/1.221, allocations: 0 / 1.162 GB, free: 2.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=578): time 1.227/2.448, allocations: 122.7 MB / 1.282 GB, free: 265.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/2.448, allocations: 110.3 kB / 1.282 GB, free: 265.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/2.453, allocations: 2.677 MB / 1.285 GB, free: 264.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/2.454, allocations: 128.1 kB / 1.285 GB, free: 264.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/2.456, allocations: 2.675 MB / 1.288 GB, free: 262.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002851/2.459, allocations: 1.957 MB / 1.29 GB, free: 261.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/2.461, allocations: 0.9221 MB / 1.291 GB, free: 260.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5e-05/2.461, allocations: 310.2 kB / 1.291 GB, free: 260.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005705/2.467, allocations: 4.078 MB / 1.295 GB, free: 258.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/2.473, allocations: 5.022 MB / 1.3 GB, free: 256 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/2.487, allocations: 9.847 MB / 1.309 GB, free: 250 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/2.487, allocations: 3.938 kB / 1.309 GB, free: 250 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04184/2.529, allocations: 17 MB / 1.326 GB, free: 239.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/2.529, allocations: 12 kB / 1.326 GB, free: 239.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/2.529, allocations: 32.09 kB / 1.326 GB, free: 239.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03085/2.56, allocations: 9.072 MB / 1.335 GB, free: 230.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/2.563, allocations: 0.5265 MB / 1.335 GB, free: 230 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08747/2.65, allocations: 70.52 MB / 1.404 GB, free: 158 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005561/2.656, allocations: 283.8 kB / 1.404 GB, free: 157.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/2.657, allocations: 192 kB / 1.405 GB, free: 157.5 MB / 1.014 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.005425/2.663, allocations: 2.417 MB / 1.407 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/2.665, allocations: 470.5 kB / 1.407 GB, free: 154.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0364/2.701, allocations: 16.82 MB / 1.424 GB, free: 137.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/2.701, allocations: 52 kB / 1.424 GB, free: 137.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002616/2.702, allocations: 72 kB / 1.424 GB, free: 137.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001514/2.702, allocations: 27.89 kB / 1.424 GB, free: 137.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05368/2.755, allocations: 25.66 MB / 1.449 GB, free: 111.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.493e-05/2.755, allocations: 4 kB / 1.449 GB, free: 111.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/2.757, allocations: 323.5 kB / 1.449 GB, free: 111.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02793/2.785, allocations: 8.269 MB / 1.457 GB, free: 103 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001435/2.787, allocations: 108 kB / 1.458 GB, free: 102.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08569/2.872, allocations: 67.38 MB / 1.523 GB, free: 34.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/2.872, allocations: 20.8 kB / 1.523 GB, free: 34.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04222/2.915, allocations: 21.58 MB / 1.544 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003899/2.919, allocations: 1.362 MB / 1.546 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/2.92, allocations: 100 kB / 1.546 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004116/2.925, allocations: 292.6 kB / 1.546 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002375/2.927, allocations: 0.526 MB / 1.547 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008167/2.928, allocations: 144 kB / 1.547 GB, free: 9.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002732/2.931, allocations: 1.772 MB / 1.549 GB, free: 7.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/2.931, allocations: 0 / 1.549 GB, free: 7.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008784/2.939, allocations: 2.465 MB / 1.551 GB, free: 5.445 MB / 1.014 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.001104/2.941, allocations: 244.9 kB / 1.551 GB, free: 5.195 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02799/2.969, allocations: 14.48 MB / 1.565 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/2.969, allocations: 5 kB / 1.565 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.02119/2.99, allocations: 9.354 MB / 1.574 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007811/2.998, allocations: 1.277 MB / 1.576 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/3.032, allocations: 18.74 MB / 1.594 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/3.043, allocations: 4.893 MB / 1.599 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003975/3.047, allocations: 0.7449 MB / 1.6 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/3.048, allocations: 203.4 kB / 1.6 GB, free: 3.012 MB / 1.061 GB Notification: Performance of SimCode: time 8.11e-07/3.048, allocations: 0 / 1.6 GB, free: 3.012 MB / 1.061 GB Notification: Performance of Templates: time 0.7561/3.804, allocations: 142.8 MB / 1.739 GB, free: 373.1 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches