Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009808, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001146/0.001146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.822, allocations: 142.4 MB / 0.9544 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02611/0.8481, allocations: 21.27 MB / 0.9752 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.8619, allocations: 6.201 MB / 0.9813 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.8654, allocations: 81.12 kB / 0.9813 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.8669, allocations: 462.1 kB / 0.9818 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.8718, allocations: 1.542 MB / 0.9833 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.875, allocations: 0.9137 MB / 0.9842 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.8853, allocations: 8.206 MB / 0.9922 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.8964, allocations: 7.098 MB / 0.9991 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.9014, allocations: 2.14 MB / 1.001 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006317/0.9078, allocations: 3.131 MB / 1.004 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007309/0.9085, allocations: 244 kB / 1.005 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.9115, allocations: 0.5853 MB / 1.005 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.9145, allocations: 2.108 MB / 1.007 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.9163, allocations: 0.8472 MB / 1.008 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007377/0.9237, allocations: 7.003 MB / 1.015 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.9237, allocations: 4 kB / 1.015 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9237, allocations: 0 / 1.015 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001845/0.9239, allocations: 0 / 1.015 GB, free: 1.527 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007888/0.9318, allocations: 3.605 MB / 1.018 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.9319, allocations: 12.03 kB / 1.018 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/0.9397, allocations: 1.688 MB / 1.02 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.9451, allocations: 2.513 MB / 1.022 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.9453, allocations: 275.3 kB / 1.023 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007901/0.9461, allocations: 359.9 kB / 1.023 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.9601, allocations: 7.459 MB / 1.03 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.146e-05/0.9602, allocations: 15.88 kB / 1.03 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.9607, allocations: 159.9 kB / 1.031 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006307/0.9613, allocations: 487.3 kB / 1.031 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.9723, allocations: 5.678 MB / 1.037 GB, free: 10.9 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03904/1.011, allocations: 31.68 MB / 1.067 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/1.014, allocations: 2.086 MB / 1.069 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/1.018, allocations: 2.17 MB / 1.072 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/1.018, allocations: 17.31 kB / 1.072 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/1.018, allocations: 47.88 kB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=146): time 5.029e-06/1.018, allocations: 0 / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=251): time 0.2848/1.303, allocations: 75.25 MB / 1.145 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.303, allocations: 77.41 kB / 1.145 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004873/1.308, allocations: 1.65 MB / 1.147 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008108/1.309, allocations: 73.64 kB / 1.147 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.311, allocations: 1.739 MB / 1.149 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.313, allocations: 0.8549 MB / 1.149 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007068/1.314, allocations: 52 kB / 1.149 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003933/1.314, allocations: 415.2 kB / 1.15 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007303/1.321, allocations: 2.714 MB / 1.153 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009263/1.331, allocations: 3.328 MB / 1.156 GB, free: 13.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009295/1.34, allocations: 3.043 MB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.001e-05/1.34, allocations: 11.95 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.06466/1.405, allocations: 14.64 MB / 1.173 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/1.405, allocations: 12 kB / 1.173 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-05/1.405, allocations: 27.94 kB / 1.173 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05579/1.461, allocations: 9.238 MB / 1.182 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.463, allocations: 307.4 kB / 1.182 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1378/1.601, allocations: 47.06 MB / 1.228 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/1.606, allocations: 223.7 kB / 1.229 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008723/1.607, allocations: 100 kB / 1.229 GB, free: 1.926 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005149/1.612, allocations: 1.591 MB / 1.23 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.613, allocations: 245.2 kB / 1.23 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05885/1.672, allocations: 14.71 MB / 1.245 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-05/1.672, allocations: 24 kB / 1.245 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000237/1.673, allocations: 47.98 kB / 1.245 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-05/1.673, allocations: 15.91 kB / 1.245 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7585/2.431, allocations: 20.49 MB / 1.265 GB, free: 270.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/2.431, allocations: 6.125 kB / 1.265 GB, free: 270.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/2.432, allocations: 161.2 kB / 1.265 GB, free: 270.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02928/2.461, allocations: 9.002 MB / 1.274 GB, free: 270.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009561/2.462, allocations: 47.03 kB / 1.274 GB, free: 270.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07126/2.534, allocations: 46.69 MB / 1.32 GB, free: 249.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/2.534, allocations: 10.97 kB / 1.32 GB, free: 249.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/2.561, allocations: 14.32 MB / 1.334 GB, free: 236.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/2.563, allocations: 0.8493 MB / 1.334 GB, free: 235.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008655/2.564, allocations: 48 kB / 1.334 GB, free: 235.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/2.566, allocations: 216.8 kB / 1.335 GB, free: 235 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/2.568, allocations: 238.3 kB / 1.335 GB, free: 234.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/2.568, allocations: 72 kB / 1.335 GB, free: 234.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001713/2.57, allocations: 1.106 MB / 1.336 GB, free: 233.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/2.57, allocations: 1.203 kB / 1.336 GB, free: 233.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006307/2.576, allocations: 1.613 MB / 1.338 GB, free: 232 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005469/2.576, allocations: 167.7 kB / 1.338 GB, free: 231.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01883/2.595, allocations: 10.32 MB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/2.595, allocations: 6.078 kB / 1.348 GB, free: 221.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/2.61, allocations: 7.15 MB / 1.355 GB, free: 214.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/2.614, allocations: 0.5132 MB / 1.355 GB, free: 213.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/2.628, allocations: 10.19 MB / 1.365 GB, free: 203.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/2.632, allocations: 3.227 MB / 1.368 GB, free: 200.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001149/2.633, allocations: 395.3 kB / 1.369 GB, free: 199.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/2.633, allocations: 99.42 kB / 1.369 GB, free: 199.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/2.633, allocations: 0 / 1.369 GB, free: 199.7 MB / 1.014 GB Notification: Performance of Templates: time 0.1071/2.74, allocations: 84.4 MB / 1.451 GB, free: 115.6 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches