Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.414/1.414, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 170.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009189/0.0009191, allocations: 96.92 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.89e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8358/1.02, allocations: 181.6 MB / 1.069 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.02, allocations: 98.36 kB / 1.069 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07386/1.094, allocations: 31.79 MB / 1.1 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/1.094, allocations: 0 / 1.1 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.898e-05/1.094, allocations: 20 kB / 1.1 GB, free: 8.977 MB / 0.7136 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.001249/1.095, allocations: 0.7971 MB / 1.101 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.095, allocations: 8.031 kB / 1.101 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.096, allocations: 202.9 kB / 1.101 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/1.097, allocations: 0.4897 MB / 1.102 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.097, allocations: 34.88 kB / 1.102 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/1.098, allocations: 64.06 kB / 1.102 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.099, allocations: 0.866 MB / 1.103 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.099, allocations: 7.938 kB / 1.103 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/1.099, allocations: 23.88 kB / 1.103 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/1.099, allocations: 40.67 kB / 1.103 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/1.1, allocations: 0.5634 MB / 1.103 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/1.104, allocations: 4.597 MB / 1.108 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/1.104, allocations: 286.5 kB / 1.108 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/1.105, allocations: 232.8 kB / 1.108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/1.105, allocations: 0 / 1.108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/1.105, allocations: 42.5 kB / 1.108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/1.105, allocations: 0 / 1.108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.004506/1.109, allocations: 2.203 MB / 1.11 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.109, allocations: 59.41 kB / 1.111 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/1.11, allocations: 403.8 kB / 1.111 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/1.11, allocations: 37.7 kB / 1.111 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/1.11, allocations: 335.8 kB / 1.111 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.11, allocations: 141.9 kB / 1.111 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/1.11, allocations: 12 kB / 1.111 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.11, allocations: 366.7 kB / 1.112 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/1.11, allocations: 225.1 kB / 1.112 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/1.111, allocations: 378.6 kB / 1.112 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/1.111, allocations: 289.4 kB / 1.113 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.111, allocations: 0 / 1.113 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001534/1.113, allocations: 0.8826 MB / 1.113 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.113, allocations: 9.719 kB / 1.113 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.113, allocations: 4 kB / 1.114 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/1.114, allocations: 230.7 kB / 1.114 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/1.114, allocations: 111.8 kB / 1.114 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/1.119, allocations: 4.92 MB / 1.119 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.119, allocations: 27.97 kB / 1.119 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.119, allocations: 20 kB / 1.119 GB, free: 5.695 MB / 0.7292 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 () * 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.000131/1.119, allocations: 140.8 kB / 1.119 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/1.119, allocations: 55.34 kB / 1.119 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/1.121, allocations: 0.7737 MB / 1.12 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.121, allocations: 4 kB / 1.12 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.121, allocations: 0 / 1.12 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.121, allocations: 4.125 kB / 1.12 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/1.123, allocations: 1.478 MB / 1.121 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.123, allocations: 4 kB / 1.121 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/1.124, allocations: 67.88 kB / 1.121 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006296/1.124, allocations: 202.6 kB / 1.121 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.124, allocations: 12 kB / 1.121 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/1.129, allocations: 4.861 MB / 1.126 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.129, allocations: 0 / 1.126 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/1.13, allocations: 1.204 MB / 1.127 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/1.131, allocations: 172.4 kB / 1.127 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/1.131, allocations: 12 kB / 1.127 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.131, allocations: 23.97 kB / 1.127 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/1.131, allocations: 39.97 kB / 1.128 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.131, allocations: 12.19 kB / 1.128 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003105/1.132, allocations: 309.6 kB / 1.128 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.132, allocations: 0 / 1.128 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006282/1.132, allocations: 176 kB / 1.128 GB, free: 11.54 MB / 0.7448 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 () * 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.0001519/1.132, allocations: 131.1 kB / 1.128 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.134, allocations: 0.9926 MB / 1.129 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.134, allocations: 0 / 1.129 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008565/1.135, allocations: 0.664 MB / 1.13 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/1.135, allocations: 164.5 kB / 1.13 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/1.137, allocations: 0.9643 MB / 1.131 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/1.137, allocations: 0.961 MB / 1.132 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003327/1.138, allocations: 120.8 kB / 1.132 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/1.138, allocations: 35.44 kB / 1.132 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/1.138, allocations: 0 / 1.132 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.01287/1.151, allocations: 8.176 MB / 1.14 GB, free: 15.26 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches