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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001532/0.001532, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001529/0.001529, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.41/1.41, 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 11.0.1-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 64.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9928/0.9943, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008693/1.003, allocations: 5.464 MB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005564/1.009, allocations: 2.626 MB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/1.009, allocations: 23.88 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/1.012, allocations: 0.6769 MB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/1.013, allocations: 401.7 kB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/1.015, allocations: 402.4 kB / 1.218 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001591/1.016, allocations: 0.9513 MB / 1.219 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/1.017, allocations: 462.4 kB / 1.219 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/1.018, allocations: 378.5 kB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007982/1.019, allocations: 398.5 kB / 1.22 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.019, allocations: 48 kB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008948/1.02, allocations: 367.2 kB / 1.22 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/1.02, allocations: 247.3 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/1.021, allocations: 346.3 kB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.023, allocations: 0.9713 MB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.023, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.803e-06/1.023, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.49e-05/1.023, allocations: 3.938 kB / 1.222 GB, free: 15.9 MB / 0.9512 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.002481/1.025, allocations: 0.9776 MB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.025, allocations: 12.03 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.027, allocations: 191.8 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/1.028, allocations: 0.5141 MB / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/1.028, allocations: 37.36 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/1.028, allocations: 60.45 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/1.029, allocations: 0.8277 MB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/1.03, allocations: 0 / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/1.03, allocations: 27.98 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/1.03, allocations: 64.89 kB / 1.224 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.031, allocations: 0.5736 MB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005727/1.037, allocations: 4.569 MB / 1.229 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/1.037, allocations: 295.3 kB / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.037, allocations: 225.3 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/1.038, allocations: 8.219 kB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.038, allocations: 38.84 kB / 1.23 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/1.038, allocations: 0 / 1.23 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.006065/1.044, allocations: 2.64 MB / 1.233 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.044, allocations: 55.41 kB / 1.233 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/1.044, allocations: 461.9 kB / 1.233 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/1.044, allocations: 33.7 kB / 1.233 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/1.045, allocations: 339.6 kB / 1.233 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.045, allocations: 146 kB / 1.234 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.045, allocations: 106.2 kB / 1.234 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.045, allocations: 358.8 kB / 1.234 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/1.045, allocations: 237 kB / 1.234 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/1.046, allocations: 414.3 kB / 1.235 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/1.047, allocations: 0.674 MB / 1.235 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.047, allocations: 0 / 1.235 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001808/1.049, allocations: 0.921 MB / 1.236 GB, free: 276 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.049, allocations: 8 kB / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.049, allocations: 4 kB / 1.236 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/1.05, allocations: 227 kB / 1.236 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/1.05, allocations: 111.8 kB / 1.237 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/1.056, allocations: 5.336 MB / 1.242 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/1.056, allocations: 27.97 kB / 1.242 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/1.057, allocations: 32.06 kB / 1.242 GB, free: 10.11 MB / 0.9669 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.0003742/1.057, allocations: 227.1 kB / 1.242 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/1.057, allocations: 59.28 kB / 1.242 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.059, allocations: 0.7773 MB / 1.243 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.059, allocations: 4 kB / 1.243 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.059, allocations: 4 kB / 1.243 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.059, allocations: 0 / 1.243 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/1.061, allocations: 1.496 MB / 1.244 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.062, allocations: 0 / 1.244 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/1.062, allocations: 71.88 kB / 1.244 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/1.063, allocations: 202.6 kB / 1.245 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/1.063, allocations: 12 kB / 1.245 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005759/1.068, allocations: 5.281 MB / 1.25 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.068, allocations: 3.984 kB / 1.25 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/1.07, allocations: 1.135 MB / 1.251 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/1.071, allocations: 176.3 kB / 1.251 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.071, allocations: 11.98 kB / 1.251 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/1.071, allocations: 23.97 kB / 1.251 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.072, allocations: 36.03 kB / 1.251 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/1.072, allocations: 8.188 kB / 1.251 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004626/1.072, allocations: 314.9 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.072, allocations: 0 / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009377/1.073, allocations: 168 kB / 1.252 GB, free: 15.51 MB / 0.9825 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.0002424/1.073, allocations: 115.2 kB / 1.252 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.075, allocations: 1.017 MB / 1.253 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.075, allocations: 0 / 1.253 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.076, allocations: 0.6801 MB / 1.253 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.077, allocations: 183.4 kB / 1.253 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/1.08, allocations: 1.306 MB / 1.255 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/1.081, allocations: 0.9455 MB / 1.256 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/1.081, allocations: 47.38 kB / 1.256 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of SimCode: time 9.11e-07/1.081, allocations: 0 / 1.256 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.0224/1.103, allocations: 14.81 MB / 1.27 GB, free: 12.29 MB / 0.9981 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