Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 121.8 kB / 16.82 MB, free: 5.754 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.002011/0.002011, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.49/1.49, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 64.94 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3887, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04928/0.438, allocations: 35.7 MB / 1.297 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.4615, allocations: 10.05 MB / 1.307 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005485/0.467, allocations: 143.3 kB / 1.307 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01403/0.481, allocations: 3.881 MB / 1.311 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007923/0.4889, allocations: 2.142 MB / 1.313 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00702/0.4959, allocations: 2.015 MB / 1.315 GB, free: 6.852 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.5088, allocations: 7.974 MB / 1.323 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01545/0.5242, allocations: 7.129 MB / 1.329 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007428/0.5316, allocations: 3.424 MB / 1.333 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008326/0.54, allocations: 3.933 MB / 1.337 GB, free: 228 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002954/0.5429, allocations: 0.6797 MB / 1.337 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.5485, allocations: 1.467 MB / 1.339 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00578/0.5543, allocations: 2.693 MB / 1.341 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.5653, allocations: 3.101 MB / 1.344 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.5845, allocations: 10.41 MB / 1.355 GB, free: 13.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5845, allocations: 0 / 1.355 GB, free: 13.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5845, allocations: 0 / 1.355 GB, free: 13.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000427/0.5849, allocations: 0 / 1.355 GB, free: 13.82 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0186/0.6035, allocations: 5.538 MB / 1.36 GB, free: 8.203 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.6036, allocations: 8.031 kB / 1.36 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/0.6098, allocations: 0.9851 MB / 1.361 GB, free: 7.207 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007659/0.6174, allocations: 3.204 MB / 1.364 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.6178, allocations: 357.9 kB / 1.364 GB, free: 3.598 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.6197, allocations: 468.3 kB / 1.365 GB, free: 3.141 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.6387, allocations: 7.906 MB / 1.373 GB, free: 10.87 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.6389, allocations: 19.86 kB / 1.373 GB, free: 10.85 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000841/0.6397, allocations: 208 kB / 1.373 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006074/0.6403, allocations: 361.1 kB / 1.373 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.6536, allocations: 5.945 MB / 1.379 GB, free: 4.332 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04845/0.702, allocations: 36.02 MB / 1.414 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/0.7056, allocations: 1.994 MB / 1.416 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.7076, allocations: 1.332 MB / 1.417 GB, free: 9.742 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-05/0.7077, allocations: 17.31 kB / 1.417 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.7077, allocations: 59.75 kB / 1.417 GB, free: 9.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 4.058e-06/0.7077, allocations: 0 / 1.417 GB, free: 9.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01529/0.723, allocations: 7.578 MB / 1.425 GB, free: 1.812 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.7231, allocations: 68.72 kB / 1.425 GB, free: 1.734 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.7262, allocations: 1.864 MB / 1.427 GB, free: 15.84 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.7265, allocations: 53.7 kB / 1.427 GB, free: 15.79 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.7282, allocations: 2.188 MB / 1.429 GB, free: 13.58 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/0.729, allocations: 0.5771 MB / 1.43 GB, free: 13 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006648/0.7296, allocations: 408 kB / 1.43 GB, free: 12.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7298, allocations: 301.1 kB / 1.43 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.7315, allocations: 1.062 MB / 1.431 GB, free: 11.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.7338, allocations: 1.756 MB / 1.433 GB, free: 9.148 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.7379, allocations: 3.056 MB / 1.436 GB, free: 5.777 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.7379, allocations: 4 kB / 1.436 GB, free: 5.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007031/0.7449, allocations: 3.903 MB / 1.44 GB, free: 1.824 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.7449, allocations: 16 kB / 1.44 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.745, allocations: 24.16 kB / 1.44 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.7475, allocations: 0.9272 MB / 1.441 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.7492, allocations: 431.2 kB / 1.441 GB, free: 408 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/0.7717, allocations: 22.77 MB / 1.463 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.774, allocations: 131.9 kB / 1.463 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/0.7743, allocations: 92.06 kB / 1.464 GB, free: 7.723 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003028/0.7773, allocations: 1.653 MB / 1.465 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/0.778, allocations: 270.4 kB / 1.465 GB, free: 5.793 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/0.7837, allocations: 3.236 MB / 1.469 GB, free: 2.512 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7837, allocations: 7.922 kB / 1.469 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.7837, allocations: 3.984 kB / 1.469 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.785, allocations: 0.5306 MB / 1.469 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/0.7853, allocations: 35.92 kB / 1.469 GB, free: 1.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009866/0.7863, allocations: 83.89 kB / 1.469 GB, free: 1.832 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.7866, allocations: 141.1 kB / 1.469 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00665/0.7932, allocations: 3.395 MB / 1.473 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005216/0.7985, allocations: 3.675 MB / 1.476 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001434/0.7999, allocations: 1.052 MB / 1.477 GB, free: 9.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001905/0.8018, allocations: 1.225 MB / 1.478 GB, free: 8.262 MB / 1.201 GB Notification: Performance of Backend: time 5.81e-07/0.8018, allocations: 0 / 1.478 GB, free: 8.262 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007592/0.8094, allocations: 3.878 MB / 1.482 GB, free: 4.223 MB / 1.201 GB Notification: Performance of SimCode: time 0.01658/0.826, allocations: 8.771 MB / 1.491 GB, free: 11.39 MB / 1.217 GB Notification: Performance of Templates: time 0.09518/0.9211, allocations: 50.04 MB / 1.54 GB, free: 9.961 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches