Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.006885/0.006885, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001428/0.001428, allocations: 199.4 kB / 16.68 MB, free: 5.969 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.471/2.471, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.81 kB / 0.9509 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3767, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02483/0.4016, allocations: 20.24 MB / 1.108 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.4146, allocations: 6.457 MB / 1.114 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004571/0.4192, allocations: 91.5 kB / 1.114 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008587/0.4279, allocations: 2.232 MB / 1.116 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.4335, allocations: 1.252 MB / 1.117 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.438, allocations: 1.284 MB / 1.119 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007492/0.4456, allocations: 4.858 MB / 1.123 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009631/0.4552, allocations: 5.595 MB / 1.129 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/0.46, allocations: 2.123 MB / 1.131 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005051/0.4651, allocations: 2.34 MB / 1.133 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.4671, allocations: 432 kB / 1.134 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.4711, allocations: 0.9986 MB / 1.135 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.4746, allocations: 1.669 MB / 1.136 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006027/0.4807, allocations: 1.918 MB / 1.138 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4922, allocations: 6.53 MB / 1.145 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4923, allocations: 4 kB / 1.145 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.976e-06/0.4923, allocations: 0 / 1.145 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002659/0.4926, allocations: 4 kB / 1.145 GB, free: 7.246 MB / 0.9044 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.01428/0.5069, allocations: 3.533 MB / 1.148 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.507, allocations: 11.97 kB / 1.148 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/0.512, allocations: 0.6623 MB / 1.149 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005955/0.518, allocations: 2.042 MB / 1.151 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.5183, allocations: 230.2 kB / 1.151 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.5194, allocations: 288.4 kB / 1.151 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.5299, allocations: 4.89 MB / 1.156 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.12e-05/0.5301, allocations: 15.89 kB / 1.156 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.5304, allocations: 128 kB / 1.156 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/0.5309, allocations: 229.7 kB / 1.156 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00719/0.5381, allocations: 3.754 MB / 1.16 GB, free: 7.141 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.5657, allocations: 21.43 MB / 1.181 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.5677, allocations: 1.304 MB / 1.182 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.5692, allocations: 1.054 MB / 1.183 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.5693, allocations: 9 kB / 1.183 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.5694, allocations: 51.56 kB / 1.183 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=107): time 4.198e-06/0.5694, allocations: 0 / 1.183 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.02507/0.5945, allocations: 8.696 MB / 1.192 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.5946, allocations: 68.72 kB / 1.192 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.5967, allocations: 1.13 MB / 1.193 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5969, allocations: 49.7 kB / 1.193 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/0.5978, allocations: 1.343 MB / 1.194 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.5983, allocations: 0.4957 MB / 1.195 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/0.5988, allocations: 291.5 kB / 1.195 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.599, allocations: 305.1 kB / 1.195 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.6003, allocations: 0.9096 MB / 1.196 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.602, allocations: 1.334 MB / 1.198 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/0.6052, allocations: 2.426 MB / 1.2 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.6052, allocations: 7.938 kB / 1.2 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007146/0.6124, allocations: 3.468 MB / 1.203 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.6124, allocations: 12.19 kB / 1.203 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.6125, allocations: 16 kB / 1.203 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.6158, allocations: 1.19 MB / 1.204 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6169, allocations: 255.6 kB / 1.205 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.6355, allocations: 13.83 MB / 1.218 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6373, allocations: 91.97 kB / 1.218 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.6377, allocations: 60.12 kB / 1.218 GB, free: 8.422 MB / 0.9825 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.002456/0.6401, allocations: 1.127 MB / 1.219 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/0.6407, allocations: 170.9 kB / 1.22 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006133/0.6469, allocations: 3.173 MB / 1.223 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.6469, allocations: 16 kB / 1.223 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-05/0.647, allocations: 15.94 kB / 1.223 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.647, allocations: 7.969 kB / 1.223 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.6594, allocations: 6.237 MB / 1.229 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.6595, allocations: 4.562 kB / 1.229 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.6601, allocations: 151.8 kB / 1.229 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/0.6629, allocations: 1.071 MB / 1.23 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6631, allocations: 31.98 kB / 1.23 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.6803, allocations: 13.55 MB / 1.243 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6803, allocations: 4 kB / 1.243 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.686, allocations: 3.159 MB / 1.246 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.6872, allocations: 431.9 kB / 1.247 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/0.6877, allocations: 31.94 kB / 1.247 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6888, allocations: 83.89 kB / 1.247 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.6892, allocations: 120.7 kB / 1.247 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/0.6893, allocations: 40 kB / 1.247 GB, free: 10.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001347/0.6906, allocations: 0.771 MB / 1.248 GB, free: 9.531 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6907, allocations: 0 / 1.248 GB, free: 9.531 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002604/0.6933, allocations: 0.6562 MB / 1.249 GB, free: 8.875 MB / 1.014 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.0003215/0.6936, allocations: 143 kB / 1.249 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005593/0.6992, allocations: 3.149 MB / 1.252 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.6992, allocations: 0 / 1.252 GB, free: 5.543 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003233/0.7025, allocations: 1.959 MB / 1.254 GB, free: 3.543 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.7055, allocations: 0.5019 MB / 1.254 GB, free: 3.055 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6974/1.403, allocations: 5.451 MB / 1.259 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.406, allocations: 2.339 MB / 1.262 GB, free: 153.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001339/1.407, allocations: 348.1 kB / 1.262 GB, free: 153.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.408, allocations: 92.75 kB / 1.262 GB, free: 153.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.408, allocations: 0 / 1.262 GB, free: 153.8 MB / 1.014 GB Notification: Performance of Templates: time 0.06583/1.474, allocations: 33.21 MB / 1.295 GB, free: 145.7 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches