Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01003/0.01003, allocations: 102.8 kB / 15.74 MB, free: 6.039 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.001954/0.001954, allocations: 201.3 kB / 16.68 MB, free: 5.965 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.506/2.506, allocations: 390.2 MB / 0.6648 GB, free: 108 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.47 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 140.4 MB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0116/0.3352, allocations: 10.08 MB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005764/0.341, allocations: 3.185 MB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008525/0.3419, allocations: 31.88 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.3438, allocations: 0.6017 MB / 1.102 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.3458, allocations: 0.774 MB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3476, allocations: 0.7407 MB / 1.103 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.3515, allocations: 2.992 MB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.3544, allocations: 2.59 MB / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.3565, allocations: 1.258 MB / 1.11 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.3587, allocations: 1.562 MB / 1.111 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.3591, allocations: 236 kB / 1.111 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.3601, allocations: 0.4954 MB / 1.112 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3612, allocations: 1.076 MB / 1.113 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3624, allocations: 1.12 MB / 1.114 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.366, allocations: 3.691 MB / 1.118 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.366, allocations: 0 / 1.118 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.874e-06/0.366, allocations: 0 / 1.118 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.105e-05/0.3661, allocations: 4 kB / 1.118 GB, free: 2.84 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004261/0.3703, allocations: 2.187 MB / 1.12 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3704, allocations: 12.03 kB / 1.12 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009072/0.3795, allocations: 1.326 MB / 1.121 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.3828, allocations: 1.31 MB / 1.122 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3829, allocations: 111.4 kB / 1.122 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005632/0.3835, allocations: 152.3 kB / 1.123 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006437/0.3899, allocations: 3.441 MB / 1.126 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.39, allocations: 0 / 1.126 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.3902, allocations: 71.97 kB / 1.126 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.3905, allocations: 199.1 kB / 1.126 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.3956, allocations: 3.127 MB / 1.129 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.4146, allocations: 13.57 MB / 1.143 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.4172, allocations: 1.732 MB / 1.144 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.4193, allocations: 1.44 MB / 1.146 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/0.4194, allocations: 12.98 kB / 1.146 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4194, allocations: 43.56 kB / 1.146 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 3.276e-06/0.4194, allocations: 0 / 1.146 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=183): time 0.1541/0.5735, allocations: 36.71 MB / 1.182 GB, free: 164 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.5736, allocations: 73.41 kB / 1.182 GB, free: 80 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5755, allocations: 1.061 MB / 1.183 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000395/0.5759, allocations: 49.7 kB / 1.183 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.5764, allocations: 0.8131 MB / 1.184 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007946/0.5773, allocations: 0.6429 MB / 1.184 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009767/0.5782, allocations: 367.5 kB / 1.184 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5784, allocations: 305.1 kB / 1.185 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.5813, allocations: 1.928 MB / 1.187 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.5846, allocations: 2.292 MB / 1.189 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00616/0.5908, allocations: 4.392 MB / 1.193 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.5908, allocations: 4 kB / 1.193 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02121/0.612, allocations: 9.029 MB / 1.202 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.6121, allocations: 11.94 kB / 1.202 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.6121, allocations: 8 kB / 1.202 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/0.6294, allocations: 4.973 MB / 1.207 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.6304, allocations: 195.6 kB / 1.207 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05984/0.6902, allocations: 38.94 MB / 1.245 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.6928, allocations: 107.8 kB / 1.245 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.6933, allocations: 67.98 kB / 1.245 GB, free: 13.99 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.6953, allocations: 0.8056 MB / 1.246 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/0.6958, allocations: 151.1 kB / 1.246 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/0.7162, allocations: 8.886 MB / 1.255 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.7163, allocations: 16 kB / 1.255 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.7164, allocations: 32 kB / 1.255 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/0.7165, allocations: 7.969 kB / 1.255 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.668/1.385, allocations: 13.41 MB / 1.268 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/1.385, allocations: 3.531 kB / 1.268 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.385, allocations: 121.2 kB / 1.268 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01896/1.404, allocations: 4.837 MB / 1.273 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004034/1.405, allocations: 35.17 kB / 1.273 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05512/1.46, allocations: 36.84 MB / 1.309 GB, free: 138.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.46, allocations: 7.719 kB / 1.309 GB, free: 138.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.477, allocations: 8.606 MB / 1.317 GB, free: 134.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/1.479, allocations: 0.6437 MB / 1.318 GB, free: 133.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/1.479, allocations: 37.5 kB / 1.318 GB, free: 133.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.48, allocations: 93 kB / 1.318 GB, free: 133.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008756/1.481, allocations: 157.8 kB / 1.318 GB, free: 133.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.481, allocations: 48.66 kB / 1.318 GB, free: 133.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008921/1.482, allocations: 0.737 MB / 1.319 GB, free: 133.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.482, allocations: 0 / 1.319 GB, free: 133.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003371/1.486, allocations: 1.005 MB / 1.32 GB, free: 132.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003097/1.486, allocations: 145.2 kB / 1.32 GB, free: 132.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008278/1.494, allocations: 5.959 MB / 1.326 GB, free: 126.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.494, allocations: 4 kB / 1.326 GB, free: 126.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007274/1.502, allocations: 3.947 MB / 1.33 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.503, allocations: 242.4 kB / 1.33 GB, free: 122.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/1.512, allocations: 5.141 MB / 1.335 GB, free: 117.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.513, allocations: 1.863 MB / 1.337 GB, free: 115.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007583/1.514, allocations: 355.2 kB / 1.337 GB, free: 115.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.514, allocations: 63.42 kB / 1.337 GB, free: 115.1 MB / 1.014 GB Notification: Performance of SimCode: time 2.265e-06/1.514, allocations: 0 / 1.337 GB, free: 115.1 MB / 1.014 GB Notification: Performance of Templates: time 0.06844/1.582, allocations: 61.2 MB / 1.397 GB, free: 54 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches