Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001162, allocations: 175.5 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008808, allocations: 86.77 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003427, allocations: 10.34 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.631/0.8445, allocations: 175 MB / 1.071 GB, free: 154.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004213/0.845, allocations: 103.4 kB / 1.071 GB, free: 154.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07082/0.9159, allocations: 31.42 MB / 1.102 GB, free: 132.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9159, allocations: 4 kB / 1.102 GB, free: 132.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.131e-05/0.916, allocations: 19.98 kB / 1.102 GB, free: 132.1 MB / 0.698 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.001911/0.9179, allocations: 0.8761 MB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.918, allocations: 12.02 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.9196, allocations: 191 kB / 1.103 GB, free: 130.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.9208, allocations: 497.4 kB / 1.103 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.9208, allocations: 37 kB / 1.103 GB, free: 130.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.921, allocations: 67.88 kB / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9223, allocations: 0.8631 MB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.9223, allocations: 4 kB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.9224, allocations: 31.92 kB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/0.9225, allocations: 40.97 kB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.9234, allocations: 0.5736 MB / 1.105 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.9278, allocations: 4.592 MB / 1.109 GB, free: 123.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.9282, allocations: 298.3 kB / 1.11 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.9282, allocations: 3.938 kB / 1.11 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9283, allocations: 42.56 kB / 1.11 GB, free: 123.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.145e-06/0.9283, allocations: 0 / 1.11 GB, free: 123.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.005099/0.9334, allocations: 2.643 MB / 1.112 GB, free: 120.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.9335, allocations: 55.41 kB / 1.112 GB, free: 120.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.9339, allocations: 393.2 kB / 1.113 GB, free: 120.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.9339, allocations: 33.7 kB / 1.113 GB, free: 120.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.9341, allocations: 335.8 kB / 1.113 GB, free: 119.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.9342, allocations: 142 kB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.9342, allocations: 8 kB / 1.113 GB, free: 119.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.9343, allocations: 366.8 kB / 1.114 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.9346, allocations: 233 kB / 1.114 GB, free: 119 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.935, allocations: 384.4 kB / 1.114 GB, free: 118.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.9354, allocations: 293.4 kB / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9354, allocations: 0 / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001411/0.9368, allocations: 0.8941 MB / 1.115 GB, free: 117.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.9368, allocations: 7.953 kB / 1.115 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9369, allocations: 8 kB / 1.115 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.9376, allocations: 222.9 kB / 1.116 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.9381, allocations: 107.8 kB / 1.116 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.9418, allocations: 5.005 MB / 1.121 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.9423, allocations: 31.97 kB / 1.121 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.9424, allocations: 23.98 kB / 1.121 GB, free: 111.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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.0003414/0.9428, allocations: 229.6 kB / 1.121 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.9429, allocations: 55.34 kB / 1.121 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.9442, allocations: 0.7695 MB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9442, allocations: 11.94 kB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9442, allocations: 4 kB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9442, allocations: 3.984 kB / 1.122 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.9463, allocations: 1.474 MB / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9464, allocations: 3.953 kB / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.9467, allocations: 67.95 kB / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006501/0.9474, allocations: 210.8 kB / 1.123 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.9474, allocations: 11.98 kB / 1.123 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.9508, allocations: 4.943 MB / 1.128 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9508, allocations: 4.031 kB / 1.128 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.9523, allocations: 1.215 MB / 1.129 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.9525, allocations: 172.3 kB / 1.13 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.9526, allocations: 8.062 kB / 1.13 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.9529, allocations: 31.97 kB / 1.13 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.953, allocations: 31.95 kB / 1.13 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.953, allocations: 16 kB / 1.13 GB, free: 101.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002699/0.9533, allocations: 310.9 kB / 1.13 GB, free: 101.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9533, allocations: 0 / 1.13 GB, free: 101.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006475/0.954, allocations: 183.9 kB / 1.13 GB, free: 101.2 MB / 0.698 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.0001658/0.9541, allocations: 115.2 kB / 1.13 GB, free: 101.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.9554, allocations: 1.001 MB / 1.131 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9554, allocations: 4.125 kB / 1.131 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.9561, allocations: 0.6836 MB / 1.132 GB, free: 99.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.9568, allocations: 154.4 kB / 1.132 GB, free: 99.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.9586, allocations: 1.5 MB / 1.133 GB, free: 97.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.959, allocations: 0.961 MB / 1.134 GB, free: 96.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003516/0.9593, allocations: 108.8 kB / 1.135 GB, free: 96.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.9594, allocations: 35.44 kB / 1.135 GB, free: 96.52 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.9594, allocations: 0 / 1.135 GB, free: 96.52 MB / 0.698 GB Notification: Performance of Templates: time 0.01179/0.9712, allocations: 8.154 MB / 1.143 GB, free: 88.48 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches