Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.00204/0.00204, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.84 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008019/0.336, allocations: 6.148 MB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.341, allocations: 3.192 MB / 1.036 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.3417, allocations: 31.81 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.3441, allocations: 0.9212 MB / 1.037 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.3456, allocations: 477.5 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3469, allocations: 0.4948 MB / 1.038 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3482, allocations: 1.1 MB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008606/0.3491, allocations: 0.6427 MB / 1.039 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.3496, allocations: 438.4 kB / 1.04 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.3502, allocations: 470.2 kB / 1.04 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.3503, allocations: 64 kB / 1.04 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.3511, allocations: 487 kB / 1.041 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.3514, allocations: 287.2 kB / 1.041 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.3517, allocations: 401.9 kB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.353, allocations: 1.18 MB / 1.043 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.353, allocations: 0 / 1.043 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.374e-06/0.353, allocations: 0 / 1.043 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.353, allocations: 0 / 1.043 GB, free: 1.68 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00161/0.3546, allocations: 1.06 MB / 1.044 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3547, allocations: 8.031 kB / 1.044 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3562, allocations: 227.6 kB / 1.044 GB, free: 348 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.3572, allocations: 0.5961 MB / 1.044 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3572, allocations: 45.67 kB / 1.045 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.3574, allocations: 64.36 kB / 1.045 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3587, allocations: 1.03 MB / 1.046 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.3587, allocations: 11.84 kB / 1.046 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.3588, allocations: 31.98 kB / 1.046 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/0.3589, allocations: 65.27 kB / 1.046 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3599, allocations: 0.6957 MB / 1.046 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.365, allocations: 5.729 MB / 1.052 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.3659, allocations: 0.5943 MB / 1.053 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.3666, allocations: 428.6 kB / 1.053 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.3667, allocations: 7.984 kB / 1.053 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3667, allocations: 38.5 kB / 1.053 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.3667, allocations: 0 / 1.053 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004268/0.371, allocations: 2.056 MB / 1.055 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3711, allocations: 55.41 kB / 1.055 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.3716, allocations: 466.8 kB / 1.056 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3716, allocations: 33.7 kB / 1.056 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.3719, allocations: 391 kB / 1.056 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.372, allocations: 145.9 kB / 1.056 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3722, allocations: 114.2 kB / 1.056 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3723, allocations: 362.8 kB / 1.057 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.3727, allocations: 253 kB / 1.057 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.3732, allocations: 457 kB / 1.057 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.3741, allocations: 0.7563 MB / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3741, allocations: 0 / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001847/0.376, allocations: 1.07 MB / 1.059 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.376, allocations: 8 kB / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.376, allocations: 8 kB / 1.059 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.3771, allocations: 327.1 kB / 1.059 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.3774, allocations: 99.81 kB / 1.059 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.3848, allocations: 7.509 MB / 1.067 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.3853, allocations: 32.17 kB / 1.067 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.3854, allocations: 35.98 kB / 1.067 GB, free: 7.32 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.3858, allocations: 245.8 kB / 1.067 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/0.3859, allocations: 71.11 kB / 1.067 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3875, allocations: 0.9238 MB / 1.068 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3875, allocations: 4 kB / 1.068 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3875, allocations: 4 kB / 1.068 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3876, allocations: 0 / 1.068 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.3903, allocations: 1.708 MB / 1.07 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3903, allocations: 0 / 1.07 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.3904, allocations: 47.91 kB / 1.07 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009172/0.3914, allocations: 323.2 kB / 1.07 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3914, allocations: 12 kB / 1.07 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5645/0.9559, allocations: 7.497 MB / 1.077 GB, free: 50.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9559, allocations: 1.891 kB / 1.077 GB, free: 50.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.9576, allocations: 1.007 MB / 1.078 GB, free: 50.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.9579, allocations: 174.6 kB / 1.079 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.958, allocations: 10.72 kB / 1.079 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.9582, allocations: 25.67 kB / 1.079 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.9584, allocations: 48.5 kB / 1.079 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.9584, allocations: 8.25 kB / 1.079 GB, free: 50.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003439/0.9588, allocations: 312.3 kB / 1.079 GB, free: 49.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9588, allocations: 1.281 kB / 1.079 GB, free: 49.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007469/0.9595, allocations: 196.7 kB / 1.079 GB, free: 49.93 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.9597, allocations: 114.8 kB / 1.079 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.9613, allocations: 1.2 MB / 1.08 GB, free: 49.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9613, allocations: 1.625 kB / 1.08 GB, free: 49.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.9624, allocations: 0.8595 MB / 1.081 GB, free: 48.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.9633, allocations: 201.2 kB / 1.081 GB, free: 48.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.9651, allocations: 1.233 MB / 1.083 GB, free: 47.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.9657, allocations: 0.9993 MB / 1.084 GB, free: 47.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002727/0.966, allocations: 109.9 kB / 1.084 GB, free: 47.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.9661, allocations: 35.31 kB / 1.084 GB, free: 47.14 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.9661, allocations: 1.062 kB / 1.084 GB, free: 47.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.1956/1.162, allocations: 9.975 MB / 1.093 GB, free: 46.62 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches