Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00171/0.00171, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.97/2.97, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.39 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3682, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02166/0.3899, allocations: 20.11 MB / 1.072 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.4019, allocations: 6.441 MB / 1.078 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.4042, allocations: 75.62 kB / 1.078 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.4096, allocations: 2.077 MB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.4133, allocations: 1.124 MB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.4171, allocations: 1.165 MB / 1.082 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008727/0.4259, allocations: 6.979 MB / 1.089 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009718/0.4356, allocations: 6.165 MB / 1.095 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.4397, allocations: 1.779 MB / 1.097 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.4445, allocations: 2.387 MB / 1.099 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.4461, allocations: 292 kB / 1.1 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.4499, allocations: 1.03 MB / 1.101 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.4531, allocations: 1.528 MB / 1.102 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005105/0.4582, allocations: 1.762 MB / 1.104 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009471/0.4677, allocations: 6.407 MB / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4677, allocations: 0 / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4677, allocations: 0 / 1.11 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001572/0.4679, allocations: 0 / 1.11 GB, free: 13.28 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.007022/0.4749, allocations: 3.457 MB / 1.113 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.475, allocations: 12.03 kB / 1.113 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.4784, allocations: 0.6332 MB / 1.114 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.4822, allocations: 1.94 MB / 1.116 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.4824, allocations: 226.2 kB / 1.116 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004855/0.4829, allocations: 296.2 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008208/0.4911, allocations: 4.882 MB / 1.121 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/0.4912, allocations: 19.81 kB / 1.121 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.4915, allocations: 132 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004286/0.4919, allocations: 233.7 kB / 1.122 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006449/0.4984, allocations: 3.75 MB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.5225, allocations: 21.57 MB / 1.146 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.5243, allocations: 1.308 MB / 1.148 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5257, allocations: 1.042 MB / 1.149 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/0.5257, allocations: 9 kB / 1.149 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.5258, allocations: 55.48 kB / 1.149 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 2.965e-06/0.5258, allocations: 0 / 1.149 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02438/0.5502, allocations: 8.649 MB / 1.157 GB, free: 10.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.5503, allocations: 68.72 kB / 1.157 GB, free: 10.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.5523, allocations: 1.126 MB / 1.158 GB, free: 9.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.5524, allocations: 49.7 kB / 1.158 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.5534, allocations: 1.304 MB / 1.16 GB, free: 8.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/0.5539, allocations: 473.2 kB / 1.16 GB, free: 7.621 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/0.5544, allocations: 295.2 kB / 1.16 GB, free: 7.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5545, allocations: 309.1 kB / 1.161 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.5558, allocations: 0.9174 MB / 1.162 GB, free: 6.105 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.5575, allocations: 1.318 MB / 1.163 GB, free: 4.617 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.5606, allocations: 2.43 MB / 1.165 GB, free: 2.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5606, allocations: 4 kB / 1.165 GB, free: 2.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005936/0.5666, allocations: 3.464 MB / 1.169 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.5667, allocations: 11.94 kB / 1.169 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.5667, allocations: 12 kB / 1.169 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/0.57, allocations: 1.182 MB / 1.17 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.571, allocations: 259.6 kB / 1.17 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.587, allocations: 12.71 MB / 1.182 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5885, allocations: 87.97 kB / 1.182 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.5886, allocations: 68 kB / 1.183 GB, free: 15.8 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.001885/0.5905, allocations: 1.118 MB / 1.184 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.5909, allocations: 162 kB / 1.184 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.5966, allocations: 3.173 MB / 1.187 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5967, allocations: 12 kB / 1.187 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.5967, allocations: 15.94 kB / 1.187 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.5967, allocations: 11.91 kB / 1.187 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.6075, allocations: 6.245 MB / 1.193 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6076, allocations: 12.05 kB / 1.193 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.6082, allocations: 143.8 kB / 1.193 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/0.6111, allocations: 1.076 MB / 1.194 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.6112, allocations: 28 kB / 1.194 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.6267, allocations: 12.42 MB / 1.206 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6267, allocations: 7.938 kB / 1.206 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.632, allocations: 3.154 MB / 1.209 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/0.6329, allocations: 423.1 kB / 1.21 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.6331, allocations: 35.91 kB / 1.21 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.6339, allocations: 83.83 kB / 1.21 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/0.6343, allocations: 124.7 kB / 1.21 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.6344, allocations: 40 kB / 1.21 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001016/0.6354, allocations: 0.7632 MB / 1.211 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6354, allocations: 0 / 1.211 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002078/0.6375, allocations: 0.6641 MB / 1.212 GB, free: 1.426 MB / 0.9669 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.0002577/0.6378, allocations: 147 kB / 1.212 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005065/0.6428, allocations: 3.12 MB / 1.215 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.6429, allocations: 4 kB / 1.215 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002966/0.6459, allocations: 1.947 MB / 1.217 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.6482, allocations: 469.9 kB / 1.217 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6585, allocations: 6.744 MB / 1.224 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.6609, allocations: 2.328 MB / 1.226 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001324/0.6623, allocations: 358.1 kB / 1.226 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.6625, allocations: 91.44 kB / 1.226 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.6626, allocations: 0 / 1.226 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of Templates: time 0.6599/1.322, allocations: 31.65 MB / 1.257 GB, free: 171.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches