Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008182/0.0008184, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 12.47 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3084, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.0062/0.3147, allocations: 5.074 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.3191, allocations: 2.6 MB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.3198, allocations: 15.88 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.3203, allocations: 107.1 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3216, allocations: 382.1 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3226, allocations: 363.3 kB / 1.068 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.3241, allocations: 1.244 MB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.3256, allocations: 0.7902 MB / 1.07 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.3262, allocations: 310.6 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.3268, allocations: 390.4 kB / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.3269, allocations: 24 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.3277, allocations: 423.1 kB / 1.071 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.3279, allocations: 223.2 kB / 1.071 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.3283, allocations: 351.9 kB / 1.071 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.329, allocations: 0.7288 MB / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.329, allocations: 0 / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.329, allocations: 0 / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3291, allocations: 4 kB / 1.072 GB, free: 7.902 MB / 0.8262 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.001393/0.3305, allocations: 0.8453 MB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3305, allocations: 15.97 kB / 1.073 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3319, allocations: 203.8 kB / 1.073 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.3327, allocations: 478.6 kB / 1.073 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3327, allocations: 37.36 kB / 1.074 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3329, allocations: 64.38 kB / 1.074 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.3341, allocations: 0.828 MB / 1.074 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.3341, allocations: 7.938 kB / 1.074 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.3342, allocations: 27.98 kB / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.3344, allocations: 64.89 kB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.3353, allocations: 0.5697 MB / 1.075 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.3398, allocations: 4.589 MB / 1.08 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.3404, allocations: 299.2 kB / 1.08 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3407, allocations: 225.3 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3407, allocations: 4.281 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3408, allocations: 30.84 kB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.3408, allocations: 0 / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005804/0.3466, allocations: 2.631 MB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3466, allocations: 59.41 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.3472, allocations: 465.8 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.3472, allocations: 29.7 kB / 1.083 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.3474, allocations: 339.6 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3476, allocations: 142 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.3477, allocations: 53.69 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3478, allocations: 358.8 kB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.3482, allocations: 237 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.3487, allocations: 414.4 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/0.3495, allocations: 0.674 MB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3495, allocations: 4 kB / 1.085 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001718/0.3513, allocations: 0.9213 MB / 1.086 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3513, allocations: 12.03 kB / 1.086 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3513, allocations: 4 kB / 1.086 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008412/0.3522, allocations: 222.4 kB / 1.086 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.3527, allocations: 111.8 kB / 1.087 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.3576, allocations: 4.954 MB / 1.091 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.3582, allocations: 35.91 kB / 1.091 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.3583, allocations: 20.06 kB / 1.091 GB, free: 2.711 MB / 0.8419 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.0003496/0.3586, allocations: 233.5 kB / 1.092 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3587, allocations: 59.34 kB / 1.092 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.3603, allocations: 0.7733 MB / 1.092 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3603, allocations: 4 kB / 1.092 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3604, allocations: 4 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3604, allocations: 0 / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.3629, allocations: 1.494 MB / 1.094 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3629, allocations: 4.188 kB / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.3633, allocations: 75.88 kB / 1.094 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/0.364, allocations: 202.6 kB / 1.094 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3641, allocations: 8 kB / 1.094 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/0.3688, allocations: 4.88 MB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3689, allocations: 4.062 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.3708, allocations: 1.131 MB / 1.1 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.371, allocations: 172.4 kB / 1.1 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.3711, allocations: 8 kB / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3715, allocations: 32.03 kB / 1.1 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3716, allocations: 39.83 kB / 1.1 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.3716, allocations: 12 kB / 1.1 GB, free: 9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000347/0.372, allocations: 306.9 kB / 1.101 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.372, allocations: 0 / 1.101 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007154/0.3727, allocations: 172 kB / 1.101 GB, free: 8.535 MB / 0.8575 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.0001672/0.3729, allocations: 115.2 kB / 1.101 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.3745, allocations: 1.008 MB / 1.102 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3745, allocations: 128 / 1.102 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009509/0.3755, allocations: 0.6878 MB / 1.103 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3765, allocations: 159.5 kB / 1.103 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3789, allocations: 1.603 MB / 1.104 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.3795, allocations: 0.9416 MB / 1.105 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3797, allocations: 55.31 kB / 1.105 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of SimCode: time 8.32e-07/0.3797, allocations: 0 / 1.105 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.0198/0.3995, allocations: 14.68 MB / 1.12 GB, free: 5.168 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches