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.001499/0.001499, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001509/0.001509, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.8692, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0253/0.8946, allocations: 20.24 MB / 1.228 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.9075, allocations: 6.453 MB / 1.235 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.91, allocations: 87.56 kB / 1.235 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006349/0.9165, allocations: 2.228 MB / 1.237 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.9207, allocations: 1.189 MB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.9246, allocations: 1.286 MB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006867/0.9315, allocations: 4.854 MB / 1.244 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008547/0.9401, allocations: 5.587 MB / 1.249 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.9442, allocations: 2.119 MB / 1.251 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.9485, allocations: 2.34 MB / 1.254 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.95, allocations: 432 kB / 1.254 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.953, allocations: 1.006 MB / 1.255 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.9559, allocations: 1.657 MB / 1.257 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004327/0.9602, allocations: 1.922 MB / 1.259 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.9694, allocations: 6.511 MB / 1.265 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9694, allocations: 0 / 1.265 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9695, allocations: 0 / 1.265 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000267/0.9697, allocations: 8 kB / 1.265 GB, free: 3.504 MB / 0.9825 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.01045/0.9802, allocations: 3.456 MB / 1.268 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.9802, allocations: 11.97 kB / 1.268 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.9845, allocations: 0.6409 MB / 1.269 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.9891, allocations: 2.041 MB / 1.271 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.9894, allocations: 230.3 kB / 1.271 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.9905, allocations: 292.3 kB / 1.271 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/1.002, allocations: 4.89 MB / 1.276 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/1.002, allocations: 11.94 kB / 1.276 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007705/1.003, allocations: 124 kB / 1.276 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005171/1.003, allocations: 229.7 kB / 1.277 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007932/1.011, allocations: 3.758 MB / 1.28 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/1.038, allocations: 21.4 MB / 1.301 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/1.04, allocations: 1.304 MB / 1.302 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.041, allocations: 1.054 MB / 1.303 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/1.041, allocations: 9 kB / 1.303 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.042, allocations: 51.5 kB / 1.304 GB, free: 9.668 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.316e-06/1.042, allocations: 0 / 1.304 GB, free: 9.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=138): time 0.02577/1.067, allocations: 8.668 MB / 1.312 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.067, allocations: 64.72 kB / 1.312 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.069, allocations: 1.13 MB / 1.313 GB, free: 15.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.069, allocations: 49.7 kB / 1.313 GB, free: 15.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/1.07, allocations: 1.3 MB / 1.314 GB, free: 14.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000515/1.071, allocations: 481.2 kB / 1.315 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/1.071, allocations: 295.3 kB / 1.315 GB, free: 13.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.072, allocations: 305.1 kB / 1.316 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.073, allocations: 0.9135 MB / 1.316 GB, free: 12.37 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/1.075, allocations: 1.326 MB / 1.318 GB, free: 10.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.078, allocations: 2.422 MB / 1.32 GB, free: 8.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.078, allocations: 8 kB / 1.32 GB, free: 8.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006413/1.084, allocations: 3.463 MB / 1.323 GB, free: 4.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/1.084, allocations: 12 kB / 1.323 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.085, allocations: 12.91 kB / 1.323 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/1.088, allocations: 1.183 MB / 1.325 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.089, allocations: 263.5 kB / 1.325 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.107, allocations: 13.84 MB / 1.338 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.109, allocations: 91.97 kB / 1.338 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/1.109, allocations: 63.94 kB / 1.339 GB, free: 4.906 MB / 1.061 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.002326/1.112, allocations: 1.118 MB / 1.34 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/1.112, allocations: 162.1 kB / 1.34 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/1.118, allocations: 3.165 MB / 1.343 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.118, allocations: 16 kB / 1.343 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.891e-05/1.119, allocations: 19.94 kB / 1.343 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.119, allocations: 3.984 kB / 1.343 GB, free: 396 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.13, allocations: 6.241 MB / 1.349 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.13, allocations: 4 kB / 1.349 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.131, allocations: 163.6 kB / 1.349 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.134, allocations: 1.071 MB / 1.35 GB, free: 8.766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.134, allocations: 28 kB / 1.35 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/1.151, allocations: 13.52 MB / 1.363 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.151, allocations: 7.938 kB / 1.363 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/1.157, allocations: 3.162 MB / 1.367 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/1.158, allocations: 427 kB / 1.367 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/1.158, allocations: 31.92 kB / 1.367 GB, free: 7.078 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.159, allocations: 79.91 kB / 1.367 GB, free: 7 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.16, allocations: 128.7 kB / 1.367 GB, free: 6.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.16, allocations: 40 kB / 1.367 GB, free: 6.836 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001285/1.161, allocations: 0.7671 MB / 1.368 GB, free: 6.066 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.516e-06/1.161, allocations: 0 / 1.368 GB, free: 6.066 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002422/1.164, allocations: 0.6601 MB / 1.369 GB, free: 5.406 MB / 1.092 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.000302/1.164, allocations: 139.1 kB / 1.369 GB, free: 5.262 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005106/1.169, allocations: 3.138 MB / 1.372 GB, free: 2.082 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.169, allocations: 0 / 1.372 GB, free: 2.082 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/1.172, allocations: 1.952 MB / 1.374 GB, free: 96 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/1.175, allocations: 0.5073 MB / 1.374 GB, free: 15.61 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.186, allocations: 5.793 MB / 1.38 GB, free: 9.723 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.19, allocations: 2.387 MB / 1.382 GB, free: 7.305 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.19, allocations: 99.42 kB / 1.382 GB, free: 7.207 MB / 1.107 GB Notification: Performance of SimCode: time 1.553e-06/1.19, allocations: 0 / 1.382 GB, free: 7.207 MB / 1.107 GB Notification: Performance of Templates: time 0.1017/1.292, allocations: 79.62 MB / 1.46 GB, free: 7.652 MB / 1.186 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/jenkins1/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