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.0008696/0.0008695, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009287/0.0009288, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.344 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.564/2.564, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6852, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006561/0.6918, allocations: 5.158 MB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.6964, allocations: 2.615 MB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.697, allocations: 23.81 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.6974, allocations: 103.1 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.6987, allocations: 386.1 kB / 1.032 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.6997, allocations: 373 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.7014, allocations: 1.255 MB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.7029, allocations: 0.7921 MB / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.7036, allocations: 310.6 kB / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.7043, allocations: 386.4 kB / 1.035 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.7044, allocations: 24 kB / 1.035 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008501/0.7052, allocations: 431.1 kB / 1.035 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.7056, allocations: 219.4 kB / 1.035 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.706, allocations: 343.9 kB / 1.036 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.707, allocations: 0.7343 MB / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.707, allocations: 0 / 1.036 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.596e-06/0.707, allocations: 4 kB / 1.036 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.707, allocations: 3.938 kB / 1.036 GB, free: 2.668 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.001609/0.7086, allocations: 0.8415 MB / 1.037 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7087, allocations: 12.03 kB / 1.037 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.7103, allocations: 199.8 kB / 1.038 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.7111, allocations: 498.3 kB / 1.038 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.7112, allocations: 33.38 kB / 1.038 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.7114, allocations: 60.53 kB / 1.038 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.7127, allocations: 0.8356 MB / 1.039 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.7127, allocations: 3.906 kB / 1.039 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.7128, allocations: 27.94 kB / 1.039 GB, free: 0 / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.713, allocations: 60.95 kB / 1.039 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.7141, allocations: 0.5774 MB / 1.04 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.7191, allocations: 4.597 MB / 1.044 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.7196, allocations: 291.3 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.72, allocations: 229.3 kB / 1.045 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.72, allocations: 288 / 1.045 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.72, allocations: 46.77 kB / 1.045 GB, free: 9.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.72, allocations: 0 / 1.045 GB, free: 9.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005954/0.726, allocations: 2.634 MB / 1.047 GB, free: 7.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.7261, allocations: 55.41 kB / 1.047 GB, free: 7.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.7266, allocations: 473.8 kB / 1.048 GB, free: 6.539 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.7267, allocations: 33.7 kB / 1.048 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.727, allocations: 339.7 kB / 1.048 GB, free: 6.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.7271, allocations: 141.9 kB / 1.048 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.7272, allocations: 53.69 kB / 1.048 GB, free: 5.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7274, allocations: 362.8 kB / 1.049 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.7278, allocations: 241 kB / 1.049 GB, free: 5.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.7283, allocations: 410.4 kB / 1.049 GB, free: 4.887 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.7292, allocations: 0.674 MB / 1.05 GB, free: 4.141 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7292, allocations: 4 kB / 1.05 GB, free: 4.137 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001765/0.731, allocations: 0.9136 MB / 1.051 GB, free: 3.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.731, allocations: 8 kB / 1.051 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.731, allocations: 4 kB / 1.051 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008091/0.7319, allocations: 226.4 kB / 1.051 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.7324, allocations: 115.8 kB / 1.051 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.7377, allocations: 4.939 MB / 1.056 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.7382, allocations: 35.97 kB / 1.056 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.7383, allocations: 24.06 kB / 1.056 GB, free: 13.46 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.0003604/0.7386, allocations: 222.7 kB / 1.056 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.7388, allocations: 55.34 kB / 1.056 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.7404, allocations: 0.7773 MB / 1.057 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7404, allocations: 15.86 kB / 1.057 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7405, allocations: 4 kB / 1.057 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7405, allocations: 3.984 kB / 1.057 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.7431, allocations: 1.509 MB / 1.058 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.7431, allocations: 0 / 1.058 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.7435, allocations: 63.94 kB / 1.059 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007134/0.7443, allocations: 210.5 kB / 1.059 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.7443, allocations: 8 kB / 1.059 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.7493, allocations: 4.872 MB / 1.063 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.7493, allocations: 8 kB / 1.063 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7512, allocations: 1.127 MB / 1.065 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.7515, allocations: 168.4 kB / 1.065 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.7516, allocations: 15.98 kB / 1.065 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.752, allocations: 28.03 kB / 1.065 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.7521, allocations: 39.83 kB / 1.065 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.7521, allocations: 12 kB / 1.065 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004145/0.7525, allocations: 310.9 kB / 1.065 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7525, allocations: 4 kB / 1.065 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007844/0.7533, allocations: 168 kB / 1.065 GB, free: 3.273 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.0001902/0.7535, allocations: 127.1 kB / 1.065 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.7553, allocations: 1 MB / 1.066 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7553, allocations: 4.125 kB / 1.066 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7563, allocations: 0.672 MB / 1.067 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7574, allocations: 164.9 kB / 1.067 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.7598, allocations: 1.622 MB / 1.069 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.7604, allocations: 0.9494 MB / 1.07 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.7605, allocations: 39.44 kB / 1.07 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.7605, allocations: 4 kB / 1.07 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.02021/0.7808, allocations: 14.82 MB / 1.084 GB, free: 15.75 MB / 0.8419 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