Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001502/0.001503, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.368/1.368, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7427 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 74.16 kB / 0.9087 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02359/0.3278, allocations: 20.1 MB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3385, allocations: 6.379 MB / 1.09 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.3401, allocations: 79.56 kB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005251/0.3454, allocations: 2.099 MB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.3484, allocations: 1.097 MB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.3513, allocations: 1.169 MB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006373/0.3577, allocations: 4.866 MB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009883/0.3676, allocations: 6.757 MB / 1.106 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.3708, allocations: 2.118 MB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.374, allocations: 2.457 MB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.3746, allocations: 428 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.3763, allocations: 1.006 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.378, allocations: 1.661 MB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.3801, allocations: 1.906 MB / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.3854, allocations: 5.558 MB / 1.12 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3854, allocations: 3.984 kB / 1.12 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3854, allocations: 0 / 1.12 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.058e-05/0.3855, allocations: 4 kB / 1.12 GB, free: 4.711 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006195/0.3917, allocations: 3.452 MB / 1.124 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3918, allocations: 8.031 kB / 1.124 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.395, allocations: 0.6449 MB / 1.124 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.3982, allocations: 1.943 MB / 1.126 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.3984, allocations: 226.3 kB / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.3989, allocations: 292.3 kB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/0.4067, allocations: 4.887 MB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.493e-05/0.4068, allocations: 23.86 kB / 1.132 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.4072, allocations: 128 kB / 1.132 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004248/0.4076, allocations: 225.7 kB / 1.132 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/0.4137, allocations: 3.75 MB / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.4374, allocations: 21.57 MB / 1.157 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.4393, allocations: 1.302 MB / 1.158 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4408, allocations: 1.049 MB / 1.159 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.4409, allocations: 13 kB / 1.159 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.441, allocations: 51.5 kB / 1.159 GB, free: 10.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.785e-06/0.441, allocations: 3.938 kB / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02398/0.465, allocations: 8.653 MB / 1.168 GB, free: 2.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4651, allocations: 64.72 kB / 1.168 GB, free: 2.023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4667, allocations: 1.134 MB / 1.169 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.4669, allocations: 49.7 kB / 1.169 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.4679, allocations: 1.296 MB / 1.17 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.4684, allocations: 481.2 kB / 1.17 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.4689, allocations: 287.4 kB / 1.171 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.469, allocations: 309.1 kB / 1.171 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4704, allocations: 0.9135 MB / 1.172 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4721, allocations: 1.326 MB / 1.173 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.4753, allocations: 2.426 MB / 1.176 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.4754, allocations: 4 kB / 1.176 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006384/0.4817, allocations: 3.467 MB / 1.179 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.4818, allocations: 12 kB / 1.179 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4818, allocations: 12 kB / 1.179 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/0.4851, allocations: 1.191 MB / 1.18 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/0.4861, allocations: 255.6 kB / 1.18 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.5047, allocations: 13.85 MB / 1.194 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.506, allocations: 91.97 kB / 1.194 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.5062, allocations: 60 kB / 1.194 GB, free: 6.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001771/0.508, allocations: 1.118 MB / 1.195 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.5083, allocations: 162 kB / 1.195 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/0.5142, allocations: 3.173 MB / 1.198 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5142, allocations: 16 kB / 1.198 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/0.5142, allocations: 15.94 kB / 1.198 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5143, allocations: 7.969 kB / 1.198 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.5247, allocations: 6.253 MB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5247, allocations: 4 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.5253, allocations: 151.7 kB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/0.5282, allocations: 1.07 MB / 1.206 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.5283, allocations: 32 kB / 1.206 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.5464, allocations: 13.54 MB / 1.219 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5464, allocations: 4 kB / 1.219 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.552, allocations: 3.154 MB / 1.222 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008666/0.5529, allocations: 427 kB / 1.223 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5531, allocations: 31.92 kB / 1.223 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.5539, allocations: 79.91 kB / 1.223 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.5543, allocations: 128.7 kB / 1.223 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.5544, allocations: 36 kB / 1.223 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001116/0.5555, allocations: 0.771 MB / 1.224 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5555, allocations: 0 / 1.224 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002039/0.5575, allocations: 0.6562 MB / 1.224 GB, free: 6.543 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000255/0.5578, allocations: 147 kB / 1.224 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006168/0.564, allocations: 3.638 MB / 1.228 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.564, allocations: 0 / 1.228 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.5672, allocations: 1.951 MB / 1.23 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.5695, allocations: 0.4965 MB / 1.23 GB, free: 244 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.5806, allocations: 7.169 MB / 1.237 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.5832, allocations: 2.379 MB / 1.24 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.5836, allocations: 103.4 kB / 1.24 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.5836, allocations: 4 kB / 1.24 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.5346/1.118, allocations: 79.43 MB / 1.317 GB, free: 127.3 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches