Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001371/0.001371, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.00134/0.00134, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7427 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 68.69 kB / 0.9087 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.0077/0.3012, allocations: 5.477 MB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004448/0.3057, allocations: 2.615 MB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.3061, allocations: 19.88 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3078, allocations: 0.6431 MB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008998/0.3087, allocations: 378.2 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.3096, allocations: 357.7 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3107, allocations: 0.9513 MB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.3115, allocations: 0.5104 MB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.312, allocations: 374.5 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.3125, allocations: 422.4 kB / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.3126, allocations: 48 kB / 1.076 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.3132, allocations: 363.3 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.3135, allocations: 251.3 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.3139, allocations: 346.2 kB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009015/0.3148, allocations: 0.7521 MB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3148, allocations: 0 / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3148, allocations: 0 / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.3148, allocations: 0 / 1.077 GB, free: 1.086 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.001646/0.3165, allocations: 0.9698 MB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3165, allocations: 12.02 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3179, allocations: 195.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.3186, allocations: 486.5 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.3187, allocations: 41.38 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.3189, allocations: 52.45 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.3201, allocations: 0.8318 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.3201, allocations: 7.938 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.3202, allocations: 24 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/0.3204, allocations: 64.94 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.3213, allocations: 0.5697 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/0.3261, allocations: 4.581 MB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.3266, allocations: 299.2 kB / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.3269, allocations: 233.2 kB / 1.085 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.327, allocations: 4.281 kB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.327, allocations: 38.84 kB / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.327, allocations: 0 / 1.085 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005558/0.3326, allocations: 2.626 MB / 1.088 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3326, allocations: 55.41 kB / 1.088 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.3332, allocations: 465.8 kB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3332, allocations: 33.7 kB / 1.089 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3335, allocations: 339.6 kB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3336, allocations: 142 kB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.3338, allocations: 106.1 kB / 1.089 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3339, allocations: 358.8 kB / 1.089 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.3343, allocations: 241 kB / 1.09 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.3348, allocations: 410.4 kB / 1.09 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.3357, allocations: 0.674 MB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3357, allocations: 11.94 kB / 1.091 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001647/0.3373, allocations: 0.9213 MB / 1.092 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3374, allocations: 8 kB / 1.092 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3374, allocations: 8 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.3382, allocations: 226.5 kB / 1.092 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.3387, allocations: 111.8 kB / 1.092 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005376/0.3441, allocations: 5.339 MB / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.3446, allocations: 31.97 kB / 1.097 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.3446, allocations: 23.98 kB / 1.097 GB, free: 11.31 MB / 0.8575 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.0003113/0.3449, allocations: 221.7 kB / 1.097 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3451, allocations: 59.42 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3466, allocations: 0.7774 MB / 1.098 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3466, allocations: 4 kB / 1.098 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3466, allocations: 4 kB / 1.098 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3466, allocations: 3.984 kB / 1.098 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.349, allocations: 1.498 MB / 1.1 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3491, allocations: 8.031 kB / 1.1 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.3494, allocations: 63.89 kB / 1.1 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006684/0.3501, allocations: 202.4 kB / 1.1 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.3502, allocations: 19.92 kB / 1.1 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.3553, allocations: 5.274 MB / 1.105 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3553, allocations: 4 kB / 1.105 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.3571, allocations: 1.147 MB / 1.106 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.3574, allocations: 168.4 kB / 1.106 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.3574, allocations: 11.94 kB / 1.106 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.3578, allocations: 27.97 kB / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.3578, allocations: 35.89 kB / 1.107 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.3579, allocations: 16 kB / 1.107 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003376/0.3582, allocations: 306.9 kB / 1.107 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3582, allocations: 64 / 1.107 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007306/0.359, allocations: 172 kB / 1.107 GB, free: 0.707 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.000166/0.3591, allocations: 115.2 kB / 1.107 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.3608, allocations: 1.055 MB / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3608, allocations: 0 / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.3618, allocations: 0.6837 MB / 1.109 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.3627, allocations: 182.3 kB / 1.109 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3649, allocations: 1.558 MB / 1.111 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.3655, allocations: 0.9533 MB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3657, allocations: 39.44 kB / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.405e-06/0.3657, allocations: 0 / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.02016/0.3859, allocations: 14.76 MB / 1.126 GB, free: 13.25 MB / 0.8887 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches