Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.001303/0.001304, allocations: 107.9 kB / 16.41 MB, free: 6.441 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.001376/0.001376, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.492/1.492, 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 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 60.14 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9837/0.9853, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007431/0.9928, allocations: 5.532 MB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.9976, allocations: 2.654 MB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.9981, allocations: 23.81 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/1, allocations: 0.684 MB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/1.001, allocations: 405.7 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/1.002, allocations: 411 kB / 1.218 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001062/1.003, allocations: 0.9552 MB / 1.219 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006714/1.004, allocations: 470.3 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/1.004, allocations: 370.6 kB / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/1.005, allocations: 410.3 kB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/1.005, allocations: 48 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/1.006, allocations: 363.3 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/1.006, allocations: 243.4 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/1.006, allocations: 358.1 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/1.007, allocations: 0.9635 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.007, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/1.007, allocations: 7.938 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.007, allocations: 0 / 1.222 GB, free: 15.76 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.001649/1.009, allocations: 0.9853 MB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.009, allocations: 12.03 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.011, allocations: 195.9 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/1.011, allocations: 0.5179 MB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/1.011, allocations: 45.36 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.012, allocations: 64.45 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.013, allocations: 0.8241 MB / 1.224 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.013, allocations: 3.938 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/1.013, allocations: 23.98 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/1.013, allocations: 68.94 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/1.014, allocations: 0.5697 MB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/1.019, allocations: 4.577 MB / 1.23 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.019, allocations: 295.3 kB / 1.23 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/1.019, allocations: 221.3 kB / 1.23 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/1.02, allocations: 4.281 kB / 1.23 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.02, allocations: 38.84 kB / 1.23 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/1.02, allocations: 0 / 1.23 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.005582/1.025, allocations: 2.64 MB / 1.233 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.025, allocations: 55.41 kB / 1.233 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/1.026, allocations: 462 kB / 1.233 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.026, allocations: 33.7 kB / 1.233 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/1.026, allocations: 347.6 kB / 1.234 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.026, allocations: 142 kB / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/1.026, allocations: 106.2 kB / 1.234 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.027, allocations: 366.8 kB / 1.234 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/1.027, allocations: 233 kB / 1.234 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/1.027, allocations: 410.4 kB / 1.235 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/1.028, allocations: 0.674 MB / 1.235 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.028, allocations: 4 kB / 1.235 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00165/1.03, allocations: 0.9212 MB / 1.236 GB, free: 100 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.03, allocations: 4 kB / 1.236 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.03, allocations: 8 kB / 1.236 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/1.031, allocations: 226.7 kB / 1.237 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/1.031, allocations: 111.8 kB / 1.237 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/1.037, allocations: 5.343 MB / 1.242 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/1.037, allocations: 31.97 kB / 1.242 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.037, allocations: 28 kB / 1.242 GB, free: 9.926 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.0003654/1.038, allocations: 225.7 kB / 1.242 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/1.038, allocations: 63.22 kB / 1.242 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.04, allocations: 0.7773 MB / 1.243 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.04, allocations: 4.188 kB / 1.243 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.04, allocations: 4 kB / 1.243 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.04, allocations: 0 / 1.243 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/1.042, allocations: 1.5 MB / 1.244 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.042, allocations: 3.938 kB / 1.244 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/1.042, allocations: 71.88 kB / 1.245 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/1.043, allocations: 202.5 kB / 1.245 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/1.043, allocations: 16 kB / 1.245 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/1.048, allocations: 5.265 MB / 1.25 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.048, allocations: 3.938 kB / 1.25 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.05, allocations: 1.131 MB / 1.251 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/1.051, allocations: 172.3 kB / 1.251 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/1.051, allocations: 15.92 kB / 1.251 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/1.051, allocations: 23.97 kB / 1.251 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.051, allocations: 40.03 kB / 1.251 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/1.051, allocations: 12 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003754/1.051, allocations: 310.9 kB / 1.252 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 4.062 kB / 1.252 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007668/1.052, allocations: 172 kB / 1.252 GB, free: 15.33 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.0001682/1.052, allocations: 115.2 kB / 1.252 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001692/1.054, allocations: 1.009 MB / 1.253 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.054, allocations: 0 / 1.253 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.055, allocations: 0.6917 MB / 1.253 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/1.056, allocations: 191.2 kB / 1.254 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/1.058, allocations: 1.301 MB / 1.255 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/1.059, allocations: 0.9455 MB / 1.256 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.059, allocations: 47.44 kB / 1.256 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/1.059, allocations: 4 kB / 1.256 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.0178/1.077, allocations: 14.94 MB / 1.271 GB, free: 11.97 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches