Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00663/0.00663, allocations: 97.23 kB / 15.73 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.001169/0.001169, allocations: 185.6 kB / 16.67 MB, free: 5.961 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 151.6 MB / 1.167 GB, free: 6.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007554/0.3345, allocations: 5.545 MB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004777/0.3394, allocations: 2.646 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.3397, allocations: 23.81 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.3418, allocations: 0.6878 MB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.3434, allocations: 425.7 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3447, allocations: 415 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.346, allocations: 0.9591 MB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.3466, allocations: 462.5 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.3471, allocations: 378.5 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.3476, allocations: 410.4 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.848e-05/0.3477, allocations: 48 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007056/0.3484, allocations: 363.3 kB / 1.179 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.3487, allocations: 243.4 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.3491, allocations: 354.1 kB / 1.179 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.3502, allocations: 0.9727 MB / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3502, allocations: 0 / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3502, allocations: 0 / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3503, allocations: 0 / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001634/0.3519, allocations: 1.008 MB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3519, allocations: 8.031 kB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.3533, allocations: 200.2 kB / 1.181 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.3542, allocations: 0.5262 MB / 1.182 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.3543, allocations: 41.31 kB / 1.182 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.3544, allocations: 56.55 kB / 1.182 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3556, allocations: 0.828 MB / 1.183 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3557, allocations: 3.938 kB / 1.183 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.3557, allocations: 20 kB / 1.183 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.3559, allocations: 76.94 kB / 1.183 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.3568, allocations: 0.5697 MB / 1.183 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.3615, allocations: 4.574 MB / 1.188 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.362, allocations: 303.2 kB / 1.188 GB, free: 260 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.3623, allocations: 225.3 kB / 1.188 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3624, allocations: 4.281 kB / 1.188 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.3624, allocations: 38.84 kB / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.3625, allocations: 0 / 1.188 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.005755/0.3682, allocations: 2.647 MB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3683, allocations: 59.41 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.3688, allocations: 462.1 kB / 1.191 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.3688, allocations: 29.7 kB / 1.192 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.369, allocations: 352.5 kB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.3692, allocations: 150.7 kB / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3694, allocations: 110.2 kB / 1.192 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3695, allocations: 362.7 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.3699, allocations: 241 kB / 1.193 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.3704, allocations: 414.4 kB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.3712, allocations: 0.67 MB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3713, allocations: 4 kB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001597/0.3729, allocations: 0.9256 MB / 1.195 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3729, allocations: 8 kB / 1.195 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3729, allocations: 7.984 kB / 1.195 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.3737, allocations: 226.3 kB / 1.195 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.3742, allocations: 107.9 kB / 1.195 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.3799, allocations: 5.348 MB / 1.2 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.3805, allocations: 31.91 kB / 1.2 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.3806, allocations: 24 kB / 1.2 GB, free: 3.086 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0004006/0.381, allocations: 225.7 kB / 1.2 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3811, allocations: 67.56 kB / 1.201 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3826, allocations: 0.7695 MB / 1.201 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3827, allocations: 8 kB / 1.201 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3827, allocations: 4 kB / 1.201 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3827, allocations: 3.984 kB / 1.201 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.3852, allocations: 1.495 MB / 1.203 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3852, allocations: 4 kB / 1.203 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.3856, allocations: 68.09 kB / 1.203 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.3863, allocations: 206.6 kB / 1.203 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3863, allocations: 12 kB / 1.203 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.3916, allocations: 5.283 MB / 1.208 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3916, allocations: 0 / 1.208 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3934, allocations: 1.132 MB / 1.209 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.3937, allocations: 168.7 kB / 1.209 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.3938, allocations: 11.94 kB / 1.209 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.3941, allocations: 32.02 kB / 1.209 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.3942, allocations: 35.91 kB / 1.21 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.3943, allocations: 19.98 kB / 1.21 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003602/0.3946, allocations: 306.9 kB / 1.21 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3947, allocations: 0 / 1.21 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007548/0.3954, allocations: 172 kB / 1.21 GB, free: 8.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.3956, allocations: 119.5 kB / 1.21 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.3972, allocations: 1.02 MB / 1.211 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3973, allocations: 8.125 kB / 1.211 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/0.3982, allocations: 0.672 MB / 1.212 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.399, allocations: 190.2 kB / 1.212 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.4011, allocations: 1.276 MB / 1.213 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.4017, allocations: 0.9533 MB / 1.214 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.402, allocations: 113 kB / 1.214 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4022, allocations: 39.44 kB / 1.214 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of SimCode: time 1.382e-06/0.4022, allocations: 0 / 1.214 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of Templates: time 0.01567/0.4178, allocations: 8.973 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches