Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001674/0.001674, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001804/0.001804, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.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.509/2.509, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7488, allocations: 140.4 MB / 0.9489 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007635/0.7565, allocations: 5.561 MB / 0.9544 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004224/0.7608, allocations: 2.653 MB / 0.9569 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.7613, allocations: 23.5 kB / 0.957 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.763, allocations: 0.6295 MB / 0.9576 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.7641, allocations: 391 kB / 0.958 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.7651, allocations: 369.3 kB / 0.9583 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.7663, allocations: 1.253 MB / 0.9595 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.7671, allocations: 462.8 kB / 0.96 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005679/0.7677, allocations: 331.1 kB / 0.9603 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.7685, allocations: 420.8 kB / 0.9607 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.7686, allocations: 33.5 kB / 0.9607 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.7699, allocations: 434.1 kB / 0.9611 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.7703, allocations: 230.2 kB / 0.9614 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.7709, allocations: 335.1 kB / 0.9617 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.7729, allocations: 0.9761 MB / 0.9626 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.7729, allocations: 0 / 0.9626 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7729, allocations: 0 / 0.9626 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7729, allocations: 5.25 kB / 0.9626 GB, free: 15.28 MB / 0.7325 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.002345/0.7753, allocations: 0.9751 MB / 0.9636 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.7753, allocations: 9.594 kB / 0.9636 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.777, allocations: 195.9 kB / 0.9638 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.7779, allocations: 494.6 kB / 0.9643 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.7779, allocations: 33.44 kB / 0.9643 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.7781, allocations: 59.81 kB / 0.9643 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7795, allocations: 0.8265 MB / 0.9651 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.7795, allocations: 6.75 kB / 0.9652 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.7796, allocations: 27.53 kB / 0.9652 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/0.7798, allocations: 70.61 kB / 0.9652 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.7808, allocations: 0.5714 MB / 0.9658 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.7855, allocations: 4.587 MB / 0.9703 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.786, allocations: 288 kB / 0.9706 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.7864, allocations: 238.9 kB / 0.9708 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.7864, allocations: 3 kB / 0.9708 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.7864, allocations: 37.59 kB / 0.9708 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.7864, allocations: 0 / 0.9708 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.007139/0.7936, allocations: 2.629 MB / 0.9734 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.7937, allocations: 55.22 kB / 0.9734 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.7948, allocations: 469 kB / 0.9739 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.7948, allocations: 32.33 kB / 0.9739 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.7952, allocations: 347.2 kB / 0.9743 GB, free: 6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.7954, allocations: 144.6 kB / 0.9744 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.7957, allocations: 106.2 kB / 0.9745 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002604/0.796, allocations: 363.5 kB / 0.9748 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.7965, allocations: 235.2 kB / 0.9751 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.7973, allocations: 415 kB / 0.9755 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.7986, allocations: 0.6766 MB / 0.9761 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.7986, allocations: 1.531 kB / 0.9761 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00259/0.8012, allocations: 0.918 MB / 0.977 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.8012, allocations: 12.78 kB / 0.977 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.8013, allocations: 10.3 kB / 0.977 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.8023, allocations: 229.9 kB / 0.9773 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.803, allocations: 117 kB / 0.9774 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.8083, allocations: 4.929 MB / 0.9822 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.809, allocations: 31.97 kB / 0.9822 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.809, allocations: 24 kB / 0.9822 GB, free: 14.71 MB / 0.7481 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.0004124/0.8095, allocations: 225.6 kB / 0.9825 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.8096, allocations: 63.25 kB / 0.9825 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.8111, allocations: 0.7697 MB / 0.9833 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8111, allocations: 4 kB / 0.9833 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8111, allocations: 0 / 0.9833 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.8111, allocations: 7.984 kB / 0.9833 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.8136, allocations: 1.494 MB / 0.9847 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8137, allocations: 0 / 0.9847 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.814, allocations: 76.06 kB / 0.9848 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.8147, allocations: 206.6 kB / 0.985 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.8148, allocations: 8 kB / 0.985 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.82, allocations: 4.873 MB / 0.9898 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.8201, allocations: 7.969 kB / 0.9898 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.822, allocations: 1.147 MB / 0.9909 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.8223, allocations: 172.4 kB / 0.9911 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.8224, allocations: 8 kB / 0.9911 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.8228, allocations: 35.89 kB / 0.9911 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.8229, allocations: 39.91 kB / 0.9911 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.8229, allocations: 15.98 kB / 0.9912 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003905/0.8233, allocations: 310.9 kB / 0.9915 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8233, allocations: 0 / 0.9915 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009446/0.8243, allocations: 168 kB / 0.9916 GB, free: 4.516 MB / 0.7481 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.0001939/0.8245, allocations: 115.2 kB / 0.9917 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.8263, allocations: 1.012 MB / 0.9927 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8263, allocations: 0 / 0.9927 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8273, allocations: 0.6799 MB / 0.9934 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8284, allocations: 173.4 kB / 0.9935 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.8309, allocations: 1.517 MB / 0.995 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.8317, allocations: 0.9494 MB / 0.996 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.8321, allocations: 105 kB / 0.9961 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.8322, allocations: 39.44 kB / 0.9961 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of SimCode: time 9.22e-07/0.8322, allocations: 0 / 0.9961 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of Templates: time 0.01699/0.8492, allocations: 8.552 MB / 1.004 GB, free: 7.328 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches