Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00135/0.00135, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001479/0.001479, allocations: 192 kB / 17.31 MB, free: 5.18 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.392/1.392, 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.2-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.56 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.292, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02928/0.3213, allocations: 26.66 MB / 0.9772 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3373, allocations: 8.075 MB / 0.9851 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004244/0.3416, allocations: 115.4 kB / 0.9852 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007659/0.3494, allocations: 2.753 MB / 0.9879 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.3547, allocations: 1.593 MB / 0.9894 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.3594, allocations: 1.676 MB / 0.9911 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008922/0.3683, allocations: 6.131 MB / 0.997 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.3826, allocations: 7.323 MB / 1.004 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006276/0.389, allocations: 2.57 MB / 1.007 GB, free: 14.89 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007063/0.3961, allocations: 2.835 MB / 1.009 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002975/0.3991, allocations: 0.5117 MB / 1.01 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.4046, allocations: 1.279 MB / 1.011 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005624/0.4102, allocations: 2.054 MB / 1.013 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.4209, allocations: 2.377 MB / 1.016 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.4388, allocations: 8.047 MB / 1.023 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.4389, allocations: 3.938 kB / 1.023 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.877e-06/0.4389, allocations: 0 / 1.023 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004803/0.4394, allocations: 0 / 1.023 GB, free: 13.73 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02043/0.4599, allocations: 4.235 MB / 1.028 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.46, allocations: 8.031 kB / 1.028 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00657/0.4665, allocations: 0.8039 MB / 1.028 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/0.475, allocations: 2.573 MB / 1.031 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.4753, allocations: 275.6 kB / 1.031 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/0.4773, allocations: 384.5 kB / 1.031 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.4955, allocations: 5.984 MB / 1.037 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003073/0.4958, allocations: 15.88 kB / 1.037 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/0.4972, allocations: 160 kB / 1.037 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007835/0.498, allocations: 282.9 kB / 1.038 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.5092, allocations: 4.52 MB / 1.042 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04368/0.5529, allocations: 27.46 MB / 1.069 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.555, allocations: 1.115 MB / 1.07 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5567, allocations: 1.017 MB / 1.071 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.5569, allocations: 24.92 kB / 1.071 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.5569, allocations: 47.55 kB / 1.071 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.677e-06/0.5569, allocations: 0 / 1.071 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.02216/0.5791, allocations: 9.651 MB / 1.081 GB, free: 80 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.5792, allocations: 68.72 kB / 1.081 GB, free: 0 / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4955/1.075, allocations: 1.489 MB / 1.082 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003379/1.075, allocations: 47.98 kB / 1.082 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.076, allocations: 1.666 MB / 1.084 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/1.077, allocations: 469.3 kB / 1.084 GB, free: 122 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005715/1.077, allocations: 335.4 kB / 1.085 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/1.077, allocations: 304.9 kB / 1.085 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.079, allocations: 0.9157 MB / 1.086 GB, free: 121.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.081, allocations: 1.464 MB / 1.087 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/1.084, allocations: 2.545 MB / 1.09 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.084, allocations: 5.531 kB / 1.09 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007108/1.091, allocations: 3.289 MB / 1.093 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.091, allocations: 15.41 kB / 1.093 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/1.091, allocations: 17.06 kB / 1.093 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/1.094, allocations: 0.7384 MB / 1.094 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.096, allocations: 384.8 kB / 1.094 GB, free: 117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.11, allocations: 17.04 MB / 1.111 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.112, allocations: 104.7 kB / 1.111 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/1.112, allocations: 73.88 kB / 1.111 GB, free: 102.4 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.0022/1.114, allocations: 1.312 MB / 1.112 GB, free: 101.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/1.115, allocations: 203.4 kB / 1.112 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005074/1.12, allocations: 2.788 MB / 1.115 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.12, allocations: 12.72 kB / 1.115 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.12, allocations: 12.14 kB / 1.115 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.12, allocations: 6.094 kB / 1.115 GB, free: 100.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.131, allocations: 6.214 MB / 1.121 GB, free: 97.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.131, allocations: 9.625 kB / 1.121 GB, free: 97.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.132, allocations: 234 kB / 1.121 GB, free: 97.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/1.134, allocations: 0.6716 MB / 1.122 GB, free: 97.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.135, allocations: 33.97 kB / 1.122 GB, free: 97.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.147, allocations: 16.78 MB / 1.138 GB, free: 83.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.147, allocations: 16.97 kB / 1.138 GB, free: 83.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/1.153, allocations: 4.003 MB / 1.142 GB, free: 81.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.154, allocations: 451.7 kB / 1.143 GB, free: 80.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/1.155, allocations: 33.33 kB / 1.143 GB, free: 80.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000882/1.156, allocations: 87.19 kB / 1.143 GB, free: 80.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/1.156, allocations: 115.3 kB / 1.143 GB, free: 80.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/1.156, allocations: 37.53 kB / 1.143 GB, free: 80.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001312/1.157, allocations: 0.9963 MB / 1.144 GB, free: 80.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.157, allocations: 0 / 1.144 GB, free: 80.42 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002423/1.16, allocations: 0.6886 MB / 1.145 GB, free: 80.37 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0002391/1.16, allocations: 151.9 kB / 1.145 GB, free: 80.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005064/1.165, allocations: 3.528 MB / 1.148 GB, free: 78.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.165, allocations: 5.281 kB / 1.148 GB, free: 78.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/1.168, allocations: 2.288 MB / 1.15 GB, free: 76.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/1.171, allocations: 0.6796 MB / 1.151 GB, free: 76.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/1.181, allocations: 6.449 MB / 1.157 GB, free: 72.99 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.183, allocations: 2.663 MB / 1.16 GB, free: 71.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001411/1.185, allocations: 494.1 kB / 1.161 GB, free: 71.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/1.185, allocations: 123.4 kB / 1.161 GB, free: 71.07 MB / 0.8575 GB Notification: Performance of SimCode: time 8.02e-07/1.185, allocations: 0 / 1.161 GB, free: 71.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.04925/1.234, allocations: 33.63 MB / 1.193 GB, free: 40.52 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches