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.0009949/0.0009945, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000892/0.0008921, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.305 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.746/2.746, allocations: 437.8 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.000519, allocations: 8 kB / 0.8722 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7737, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007001/0.7807, allocations: 4.911 MB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.7854, allocations: 2.499 MB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.786, allocations: 23.81 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.7865, allocations: 103.1 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.7877, allocations: 334.2 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.7888, allocations: 299.3 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.7902, allocations: 1.045 MB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.7918, allocations: 0.7463 MB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.7927, allocations: 310.7 kB / 1.032 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.7935, allocations: 378.5 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.7937, allocations: 24 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.7945, allocations: 183.8 kB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.7949, allocations: 223.3 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.7953, allocations: 145.3 kB / 1.033 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.7963, allocations: 0.7187 MB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7963, allocations: 8 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7963, allocations: 0 / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.87e-05/0.7964, allocations: 0 / 1.034 GB, free: 4.023 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.002007/0.7984, allocations: 0.849 MB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7984, allocations: 12.56 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.8, allocations: 202.8 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.8011, allocations: 477.4 kB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.8011, allocations: 40.98 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.8013, allocations: 63.91 kB / 1.036 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.8028, allocations: 0.8161 MB / 1.036 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.8028, allocations: 7.844 kB / 1.036 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.8029, allocations: 23.98 kB / 1.036 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.8031, allocations: 68.95 kB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.8041, allocations: 0.5657 MB / 1.037 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.8089, allocations: 4.597 MB / 1.042 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.8094, allocations: 295.3 kB / 1.042 GB, free: 11.49 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.8098, allocations: 225.3 kB / 1.042 GB, free: 11.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.8098, allocations: 4.281 kB / 1.042 GB, free: 11.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.8098, allocations: 34.84 kB / 1.042 GB, free: 11.22 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8099, allocations: 0 / 1.042 GB, free: 11.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005913/0.8158, allocations: 2.634 MB / 1.045 GB, free: 8.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.8159, allocations: 55.41 kB / 1.045 GB, free: 8.395 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.8166, allocations: 458 kB / 1.045 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.8166, allocations: 37.69 kB / 1.045 GB, free: 7.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.8169, allocations: 343.6 kB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.8171, allocations: 138 kB / 1.046 GB, free: 7.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.8171, allocations: 15.94 kB / 1.046 GB, free: 7.398 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8173, allocations: 370.7 kB / 1.046 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.8177, allocations: 237 kB / 1.046 GB, free: 6.793 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.8182, allocations: 412 kB / 1.047 GB, free: 6.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.8187, allocations: 293.5 kB / 1.047 GB, free: 6.035 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8187, allocations: 4 kB / 1.047 GB, free: 6.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00173/0.8205, allocations: 0.9097 MB / 1.048 GB, free: 5.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8205, allocations: 8.656 kB / 1.048 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8205, allocations: 15.94 kB / 1.048 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007495/0.8213, allocations: 222.3 kB / 1.048 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.8218, allocations: 115.8 kB / 1.048 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.8271, allocations: 4.931 MB / 1.053 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.8277, allocations: 27.97 kB / 1.053 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.8278, allocations: 24 kB / 1.053 GB, free: 15.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.8282, allocations: 233.6 kB / 1.053 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.8283, allocations: 59.34 kB / 1.053 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.83, allocations: 0.7733 MB / 1.054 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.83, allocations: 4.141 kB / 1.054 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.83, allocations: 192 / 1.054 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.83, allocations: 3.984 kB / 1.054 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.8327, allocations: 1.503 MB / 1.056 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.8327, allocations: 4 kB / 1.056 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.8331, allocations: 71.88 kB / 1.056 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/0.8337, allocations: 202.5 kB / 1.056 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.8338, allocations: 8 kB / 1.056 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.8386, allocations: 4.868 MB / 1.061 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8386, allocations: 0 / 1.061 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.8405, allocations: 1.135 MB / 1.062 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.8409, allocations: 168.4 kB / 1.062 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.841, allocations: 12 kB / 1.062 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.8413, allocations: 23.97 kB / 1.062 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.8415, allocations: 39.95 kB / 1.062 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.8415, allocations: 16 kB / 1.062 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004268/0.8419, allocations: 310.8 kB / 1.062 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8419, allocations: 0 / 1.062 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000859/0.8428, allocations: 168 kB / 1.062 GB, free: 5.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.843, allocations: 119.2 kB / 1.062 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.8448, allocations: 1.004 MB / 1.063 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8448, allocations: 0 / 1.063 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/0.8457, allocations: 0.6721 MB / 1.064 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.8467, allocations: 171.4 kB / 1.064 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.8493, allocations: 1.519 MB / 1.066 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.85, allocations: 0.9495 MB / 1.067 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.8504, allocations: 109 kB / 1.067 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.8505, allocations: 35.44 kB / 1.067 GB, free: 476 kB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.8506, allocations: 0 / 1.067 GB, free: 476 kB / 0.8106 GB Notification: Performance of Templates: time 0.01624/0.8668, allocations: 8.152 MB / 1.075 GB, free: 8.418 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/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