Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001479/0.001479, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001654/0.001654, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.996/0.9975, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00699/1.004, allocations: 5.473 MB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004557/1.009, allocations: 2.615 MB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/1.01, allocations: 25.59 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/1.012, allocations: 0.675 MB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/1.013, allocations: 404.9 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/1.014, allocations: 399.4 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001443/1.016, allocations: 0.9515 MB / 1.099 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/1.016, allocations: 470.5 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006627/1.017, allocations: 374.2 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/1.018, allocations: 406.8 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/1.018, allocations: 47.38 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009161/1.019, allocations: 359.2 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/1.019, allocations: 247.3 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/1.02, allocations: 350.5 kB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/1.021, allocations: 0.9661 MB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.021, allocations: 5.406 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/1.021, allocations: 0 / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.021, allocations: 0 / 1.102 GB, free: 13.7 MB / 0.8731 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.001816/1.023, allocations: 0.9679 MB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.023, allocations: 13.72 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/1.025, allocations: 189.9 kB / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.026, allocations: 0.5123 MB / 1.104 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/1.026, allocations: 45.3 kB / 1.104 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/1.026, allocations: 55.81 kB / 1.104 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.027, allocations: 0.836 MB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/1.027, allocations: 2.812 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/1.027, allocations: 22.61 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/1.028, allocations: 68.55 kB / 1.105 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/1.029, allocations: 0.5731 MB / 1.105 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/1.033, allocations: 4.572 MB / 1.11 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/1.034, allocations: 298.6 kB / 1.11 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/1.034, allocations: 223.3 kB / 1.11 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/1.034, allocations: 3.594 kB / 1.11 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.034, allocations: 37.66 kB / 1.11 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/1.034, allocations: 0 / 1.11 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006004/1.04, allocations: 2.631 MB / 1.113 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.04, allocations: 56.12 kB / 1.113 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/1.041, allocations: 460.9 kB / 1.113 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.041, allocations: 32.05 kB / 1.113 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/1.041, allocations: 345.8 kB / 1.114 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.041, allocations: 136.4 kB / 1.114 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.042, allocations: 111.2 kB / 1.114 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.042, allocations: 363.1 kB / 1.114 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/1.042, allocations: 237.8 kB / 1.114 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/1.043, allocations: 405.6 kB / 1.115 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/1.044, allocations: 0.6726 MB / 1.115 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.044, allocations: 2.719 kB / 1.115 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001838/1.046, allocations: 0.9148 MB / 1.116 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.046, allocations: 10.91 kB / 1.116 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.046, allocations: 5.922 kB / 1.116 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008513/1.047, allocations: 232.9 kB / 1.117 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/1.047, allocations: 115.7 kB / 1.117 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/1.053, allocations: 5.338 MB / 1.122 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/1.053, allocations: 30.34 kB / 1.122 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/1.053, allocations: 22.91 kB / 1.122 GB, free: 15.23 MB / 0.8887 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.0004256/1.054, allocations: 230.1 kB / 1.122 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.054, allocations: 59.34 kB / 1.122 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/1.056, allocations: 0.7696 MB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.056, allocations: 4.812 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.056, allocations: 7.484 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.056, allocations: 1.031 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/1.058, allocations: 1.499 MB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.058, allocations: 5.125 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/1.059, allocations: 68.45 kB / 1.125 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007185/1.059, allocations: 206.7 kB / 1.125 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/1.06, allocations: 9.062 kB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005063/1.065, allocations: 5.273 MB / 1.13 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.065, allocations: 9.406 kB / 1.13 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/1.067, allocations: 1.132 MB / 1.131 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/1.067, allocations: 169.3 kB / 1.131 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.067, allocations: 24.42 kB / 1.131 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/1.067, allocations: 27.05 kB / 1.131 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.068, allocations: 31.98 kB / 1.131 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/1.068, allocations: 13.09 kB / 1.131 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004244/1.068, allocations: 313.2 kB / 1.132 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 4 kB / 1.132 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008911/1.069, allocations: 166.6 kB / 1.132 GB, free: 8.254 MB / 0.8887 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.0001755/1.069, allocations: 114.6 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.071, allocations: 1.017 MB / 1.133 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.071, allocations: 0 / 1.133 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.072, allocations: 0.6851 MB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.073, allocations: 182.1 kB / 1.134 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/1.076, allocations: 1.298 MB / 1.135 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/1.076, allocations: 0.9419 MB / 1.136 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/1.076, allocations: 44.17 kB / 1.136 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/1.076, allocations: 5.219 kB / 1.136 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of Templates: time 0.02651/1.103, allocations: 14.82 MB / 1.15 GB, free: 1.254 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches