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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.008121/0.008122, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001568/0.001568, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.66, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008128/0.6682, allocations: 5.566 MB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004818/0.6731, allocations: 2.658 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006338/0.6737, allocations: 27.75 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.6756, allocations: 0.6306 MB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.6767, allocations: 386.1 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.6778, allocations: 374.8 kB / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.6794, allocations: 1.263 MB / 1.028 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.6803, allocations: 448 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.6809, allocations: 326.6 kB / 1.029 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.6816, allocations: 414.3 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.6817, allocations: 32 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.6826, allocations: 443.1 kB / 1.03 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.6829, allocations: 227.3 kB / 1.03 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.6833, allocations: 338.2 kB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.6842, allocations: 0.7443 MB / 1.031 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6842, allocations: 0 / 1.031 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6843, allocations: 0 / 1.031 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.6843, allocations: 0 / 1.031 GB, free: 4.895 MB / 0.7794 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.001982/0.6863, allocations: 0.9776 MB / 1.032 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6863, allocations: 8.031 kB / 1.032 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.6878, allocations: 199.8 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.6886, allocations: 494.5 kB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6887, allocations: 33.38 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.6889, allocations: 60.53 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6902, allocations: 0.8356 MB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.6902, allocations: 7.844 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.6903, allocations: 28 kB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.6905, allocations: 60.95 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.6914, allocations: 0.5697 MB / 1.034 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.6964, allocations: 4.593 MB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.697, allocations: 291.2 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.6973, allocations: 225.3 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.6974, allocations: 4.281 kB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6974, allocations: 42.83 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.6974, allocations: 4 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005904/0.7033, allocations: 2.618 MB / 1.042 GB, free: 9.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.7034, allocations: 59.34 kB / 1.042 GB, free: 9.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.704, allocations: 466 kB / 1.042 GB, free: 8.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.704, allocations: 33.7 kB / 1.042 GB, free: 8.625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.7042, allocations: 343.6 kB / 1.042 GB, free: 8.281 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.7044, allocations: 141.9 kB / 1.043 GB, free: 8.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.7045, allocations: 106.2 kB / 1.043 GB, free: 8.031 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7047, allocations: 362.8 kB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.7051, allocations: 237 kB / 1.043 GB, free: 7.438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.7056, allocations: 406.4 kB / 1.044 GB, free: 6.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.7065, allocations: 0.6817 MB / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7065, allocations: 0 / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001826/0.7084, allocations: 0.9247 MB / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.7084, allocations: 8 kB / 1.045 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7084, allocations: 4 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/0.7093, allocations: 230.9 kB / 1.045 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.7099, allocations: 115.8 kB / 1.045 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.7152, allocations: 4.943 MB / 1.05 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.7158, allocations: 39.97 kB / 1.05 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.7159, allocations: 24 kB / 1.05 GB, free: 15.51 MB / 0.8106 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.0003741/0.7163, allocations: 222.1 kB / 1.051 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.7164, allocations: 59.34 kB / 1.051 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.718, allocations: 0.7773 MB / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.7181, allocations: 4 kB / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7181, allocations: 8 kB / 1.051 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.7181, allocations: 3.984 kB / 1.051 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.7207, allocations: 1.494 MB / 1.053 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7208, allocations: 0 / 1.053 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.7212, allocations: 67.89 kB / 1.053 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/0.7219, allocations: 214.5 kB / 1.053 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.722, allocations: 8 kB / 1.053 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004899/0.7269, allocations: 4.872 MB / 1.058 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.7269, allocations: 4.031 kB / 1.058 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.7288, allocations: 1.131 MB / 1.059 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.7291, allocations: 172.4 kB / 1.059 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.7292, allocations: 8 kB / 1.059 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.7295, allocations: 23.97 kB / 1.059 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.7296, allocations: 39.89 kB / 1.059 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.7297, allocations: 8 kB / 1.059 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003771/0.7301, allocations: 322.9 kB / 1.06 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7301, allocations: 0 / 1.06 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007176/0.7308, allocations: 172 kB / 1.06 GB, free: 5.336 MB / 0.8106 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.0001664/0.731, allocations: 108.4 kB / 1.06 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.7327, allocations: 1.012 MB / 1.061 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7327, allocations: 4 kB / 1.061 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.7337, allocations: 0.6759 MB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.7347, allocations: 177.1 kB / 1.062 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.737, allocations: 1.565 MB / 1.063 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.7376, allocations: 0.9494 MB / 1.064 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.7378, allocations: 39.44 kB / 1.064 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of SimCode: time 2.214e-06/0.7378, allocations: 0 / 1.064 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of Templates: time 0.01955/0.7573, allocations: 14.91 MB / 1.079 GB, free: 1.789 MB / 0.8262 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/jenkins1/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