Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_Buildings.Electrical.AC.OnePhase.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.001251/0.001251, allocations: 102.2 kB / 16.27 MB, free: 6 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.001277/0.001277, allocations: 191 kB / 17.2 MB, free: 5.609 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.1 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002449, allocations: 67.98 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3752, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008156/0.3834, allocations: 5.477 MB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005454/0.3889, allocations: 2.623 MB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/0.3896, allocations: 23.88 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.3916, allocations: 0.6791 MB / 1.027 GB, free: 1.781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.3928, allocations: 413.7 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.394, allocations: 393.4 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3953, allocations: 0.9435 MB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007932/0.3961, allocations: 466.8 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.3967, allocations: 374.6 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.3973, allocations: 402.4 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.3974, allocations: 48 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.3982, allocations: 363.2 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.3985, allocations: 247.4 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.3989, allocations: 350.2 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.4002, allocations: 0.9656 MB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4002, allocations: 0 / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4002, allocations: 4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.4002, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 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.001881/0.4021, allocations: 0.966 MB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4021, allocations: 8.922 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.4035, allocations: 191.9 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.4044, allocations: 494.4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.4044, allocations: 49.28 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.4046, allocations: 44.56 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4059, allocations: 0.8396 MB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.4059, allocations: 7.906 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.406, allocations: 27.98 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.4062, allocations: 60.95 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.4071, allocations: 0.5774 MB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/0.4126, allocations: 4.577 MB / 1.039 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.4133, allocations: 291.3 kB / 1.039 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.4137, allocations: 225.3 kB / 1.039 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.4137, allocations: 4.281 kB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.4138, allocations: 42.78 kB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.4138, allocations: 0 / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.006339/0.4201, allocations: 2.627 MB / 1.042 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.4202, allocations: 59.34 kB / 1.042 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.4208, allocations: 457.9 kB / 1.043 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.4209, allocations: 41.7 kB / 1.043 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.4212, allocations: 343.6 kB / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4213, allocations: 141.9 kB / 1.043 GB, free: 136 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.4216, allocations: 106.1 kB / 1.043 GB, free: 24 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.4218, allocations: 362.8 kB / 1.044 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.4223, allocations: 233 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.4229, allocations: 406.5 kB / 1.044 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.424, allocations: 0.6778 MB / 1.045 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.424, allocations: 4 kB / 1.045 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001928/0.4259, allocations: 0.9208 MB / 1.046 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.426, allocations: 12.59 kB / 1.046 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.426, allocations: 4 kB / 1.046 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.4269, allocations: 226.4 kB / 1.046 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.4274, allocations: 119.8 kB / 1.046 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.4339, allocations: 5.348 MB / 1.051 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.4345, allocations: 27.97 kB / 1.051 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.4346, allocations: 24 kB / 1.051 GB, free: 7.078 MB / 0.8262 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.0004124/0.435, allocations: 222.3 kB / 1.052 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4351, allocations: 59.28 kB / 1.052 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.4368, allocations: 0.7737 MB / 1.052 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.4368, allocations: 4 kB / 1.052 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4368, allocations: 4 kB / 1.052 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4368, allocations: 4 kB / 1.052 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.4396, allocations: 1.491 MB / 1.054 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4396, allocations: 0 / 1.054 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.44, allocations: 71.88 kB / 1.054 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/0.4407, allocations: 210.8 kB / 1.054 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.4408, allocations: 12 kB / 1.054 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006151/0.4469, allocations: 5.274 MB / 1.059 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.447, allocations: 0 / 1.059 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.449, allocations: 1.147 MB / 1.06 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.4494, allocations: 164.4 kB / 1.061 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.4494, allocations: 15.92 kB / 1.061 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.4498, allocations: 27.97 kB / 1.061 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4499, allocations: 36.02 kB / 1.061 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.4499, allocations: 12 kB / 1.061 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003928/0.4503, allocations: 306.9 kB / 1.061 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4504, allocations: 0 / 1.061 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007288/0.4511, allocations: 172 kB / 1.061 GB, free: 12.5 MB / 0.8419 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.0001872/0.4513, allocations: 115.2 kB / 1.061 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.4532, allocations: 1.059 MB / 1.062 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.4533, allocations: 4 kB / 1.062 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.4544, allocations: 0.6877 MB / 1.063 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.4554, allocations: 180.8 kB / 1.063 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.4579, allocations: 1.317 MB / 1.064 GB, free: 9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/0.4586, allocations: 0.9494 MB / 1.065 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4587, allocations: 43.42 kB / 1.065 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/0.4588, allocations: 0 / 1.065 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.4738/0.9326, allocations: 14.76 MB / 1.08 GB, free: 59.25 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches