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.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.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.001694/0.001694, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001809/0.001809, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.488/2.488, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 63.67 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3388, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00725/0.3461, allocations: 5.462 MB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.3507, allocations: 2.638 MB / 1.027 GB, free: 1.688 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.3512, allocations: 19.88 kB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.3531, allocations: 0.6702 MB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3541, allocations: 409.7 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.3551, allocations: 393.3 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3562, allocations: 0.9474 MB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.3568, allocations: 474.5 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004298/0.3572, allocations: 374.5 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.3577, allocations: 398.4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.3578, allocations: 48 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/0.3585, allocations: 363.2 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.3588, allocations: 251.3 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.3591, allocations: 354.2 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009882/0.3601, allocations: 0.9695 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3601, allocations: 4 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3601, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.3601, allocations: 0 / 1.032 GB, free: 12.06 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.001586/0.3617, allocations: 0.9698 MB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3618, allocations: 8.922 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.3631, allocations: 191.9 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.3639, allocations: 0.514 MB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.364, allocations: 41.36 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3641, allocations: 56.5 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3653, allocations: 0.8363 MB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.3653, allocations: 7.844 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.3654, allocations: 23.98 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.3656, allocations: 72.94 kB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008457/0.3664, allocations: 0.5658 MB / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.3708, allocations: 4.565 MB / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3713, allocations: 299.2 kB / 1.04 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.3716, allocations: 221.3 kB / 1.04 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3717, allocations: 4.281 kB / 1.04 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3717, allocations: 42.84 kB / 1.04 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/0.3717, allocations: 0 / 1.04 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.005417/0.3771, allocations: 2.627 MB / 1.043 GB, free: 376 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3772, allocations: 55.41 kB / 1.043 GB, free: 308 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.3777, allocations: 457.9 kB / 1.043 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3777, allocations: 37.7 kB / 1.043 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.378, allocations: 343.6 kB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3781, allocations: 141.9 kB / 1.044 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3783, allocations: 106.1 kB / 1.044 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3784, allocations: 362.8 kB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.3788, allocations: 237 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.3792, allocations: 409.5 kB / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/0.3801, allocations: 0.6818 MB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3801, allocations: 0 / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001606/0.3817, allocations: 0.9133 MB / 1.047 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3817, allocations: 8 kB / 1.047 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3818, allocations: 4 kB / 1.047 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007566/0.3825, allocations: 223 kB / 1.047 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.383, allocations: 123.7 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/0.3882, allocations: 5.348 MB / 1.052 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.3887, allocations: 40.03 kB / 1.052 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3887, allocations: 20 kB / 1.052 GB, free: 6.266 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.000324/0.3891, allocations: 221.7 kB / 1.052 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.3892, allocations: 59.28 kB / 1.052 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.3907, allocations: 0.7735 MB / 1.053 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3907, allocations: 4 kB / 1.053 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3907, allocations: 4 kB / 1.053 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3907, allocations: 0 / 1.053 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.3931, allocations: 1.495 MB / 1.055 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3932, allocations: 3.938 kB / 1.055 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.3935, allocations: 75.88 kB / 1.055 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006633/0.3942, allocations: 202.6 kB / 1.055 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3943, allocations: 8 kB / 1.055 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.3992, allocations: 5.27 MB / 1.06 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3993, allocations: 144 / 1.06 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.401, allocations: 1.139 MB / 1.061 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.4013, allocations: 168.4 kB / 1.061 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.4014, allocations: 11.94 kB / 1.061 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.4018, allocations: 27.97 kB / 1.061 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4019, allocations: 39.95 kB / 1.061 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.4019, allocations: 16 kB / 1.061 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003591/0.4023, allocations: 306.9 kB / 1.062 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4023, allocations: 0 / 1.062 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007381/0.403, allocations: 168 kB / 1.062 GB, free: 11.7 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.000171/0.4032, allocations: 111.5 kB / 1.062 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.4048, allocations: 1.02 MB / 1.063 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4048, allocations: 4 kB / 1.063 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.4058, allocations: 0.6837 MB / 1.064 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.4066, allocations: 183.5 kB / 1.064 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4086, allocations: 1.248 MB / 1.065 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.4092, allocations: 0.9571 MB / 1.066 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003062/0.4095, allocations: 105 kB / 1.066 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.4096, allocations: 39.44 kB / 1.066 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.4096, allocations: 0 / 1.066 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of Templates: time 0.5406/0.9502, allocations: 8.839 MB / 1.075 GB, free: 59.23 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=480 -s gbode -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