Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001151/0.001151, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001473/0.001474, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7932, allocations: 153.6 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0219/0.8151, allocations: 20.52 MB / 1.041 GB, free: 12.49 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.8272, allocations: 6.23 MB / 1.047 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.8302, allocations: 75.5 kB / 1.047 GB, free: 6.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.8326, allocations: 465.1 kB / 1.047 GB, free: 5.715 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.8379, allocations: 1.2 MB / 1.049 GB, free: 4.512 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.8413, allocations: 0.9153 MB / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00579/0.8471, allocations: 3.262 MB / 1.053 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01387/0.861, allocations: 7.083 MB / 1.06 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0059/0.867, allocations: 1.752 MB / 1.061 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005526/0.8726, allocations: 2.06 MB / 1.063 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.8742, allocations: 244 kB / 1.064 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.8772, allocations: 0.4956 MB / 1.064 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003694/0.8809, allocations: 1.926 MB / 1.066 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.8831, allocations: 0.8472 MB / 1.067 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009965/0.8931, allocations: 6.898 MB / 1.074 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8932, allocations: 0 / 1.074 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8932, allocations: 0 / 1.074 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003379/0.8935, allocations: 0 / 1.074 GB, free: 10.93 MB / 0.8262 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.01017/0.9037, allocations: 3.574 MB / 1.077 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9038, allocations: 15.98 kB / 1.077 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009377/0.9132, allocations: 1.793 MB / 1.079 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/0.9201, allocations: 2.513 MB / 1.081 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.9204, allocations: 283.3 kB / 1.081 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.922, allocations: 359.8 kB / 1.082 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.942, allocations: 7.428 MB / 1.089 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/0.9423, allocations: 11.88 kB / 1.089 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.9437, allocations: 155.9 kB / 1.089 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006948/0.9445, allocations: 487.3 kB / 1.09 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.9562, allocations: 5.681 MB / 1.095 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04226/0.9985, allocations: 31.66 MB / 1.126 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/1.002, allocations: 2.086 MB / 1.128 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/1.002, allocations: 13.31 kB / 1.128 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.002, allocations: 51.83 kB / 1.128 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 5.71e-06/1.002, allocations: 7.984 kB / 1.128 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of matching and sorting (n=251): time 0.2987/1.301, allocations: 75.25 MB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/1.301, allocations: 81.34 kB / 1.202 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/1.304, allocations: 1.654 MB / 1.203 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006363/1.304, allocations: 69.7 kB / 1.204 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.306, allocations: 1.747 MB / 1.205 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.307, allocations: 0.851 MB / 1.206 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/1.308, allocations: 56 kB / 1.206 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.308, allocations: 411.2 kB / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/1.312, allocations: 2.718 MB / 1.209 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/1.316, allocations: 3.312 MB / 1.212 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/1.321, allocations: 3.059 MB / 1.215 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/1.321, allocations: 11.94 kB / 1.215 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03466/1.355, allocations: 14.64 MB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/1.355, allocations: 12 kB / 1.23 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.356, allocations: 24.09 kB / 1.23 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03095/1.386, allocations: 9.234 MB / 1.239 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.388, allocations: 299.5 kB / 1.239 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8417/2.23, allocations: 49.55 MB / 1.287 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/2.233, allocations: 222.7 kB / 1.288 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/2.233, allocations: 99.3 kB / 1.288 GB, free: 193.2 MB / 0.9981 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.003123/2.237, allocations: 1.591 MB / 1.289 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007503/2.237, allocations: 250 kB / 1.29 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0302/2.267, allocations: 14.71 MB / 1.304 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-05/2.268, allocations: 23.09 kB / 1.304 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002263/2.268, allocations: 48.48 kB / 1.304 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.58e-05/2.268, allocations: 13.36 kB / 1.304 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0412/2.309, allocations: 20.49 MB / 1.324 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.883e-05/2.309, allocations: 11.95 kB / 1.324 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/2.31, allocations: 159.8 kB / 1.324 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02689/2.337, allocations: 8.997 MB / 1.333 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007264/2.338, allocations: 48 kB / 1.333 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06615/2.404, allocations: 49.19 MB / 1.381 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/2.404, allocations: 12 kB / 1.381 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02991/2.434, allocations: 14.78 MB / 1.395 GB, free: 94.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/2.436, allocations: 0.8563 MB / 1.396 GB, free: 93.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000994/2.437, allocations: 52 kB / 1.396 GB, free: 93.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/2.44, allocations: 207.7 kB / 1.397 GB, free: 93.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.442, allocations: 245.4 kB / 1.397 GB, free: 93.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/2.442, allocations: 71.98 kB / 1.397 GB, free: 93.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001844/2.444, allocations: 1.102 MB / 1.398 GB, free: 92.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/2.444, allocations: 0 / 1.398 GB, free: 92.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006291/2.45, allocations: 1.617 MB / 1.4 GB, free: 90.41 MB / 0.9981 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.0005994/2.451, allocations: 158.6 kB / 1.4 GB, free: 90.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02155/2.472, allocations: 10.33 MB / 1.41 GB, free: 79.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.472, allocations: 256 / 1.41 GB, free: 79.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01732/2.49, allocations: 7.149 MB / 1.417 GB, free: 72.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/2.493, allocations: 484 kB / 1.417 GB, free: 72.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/2.511, allocations: 10.28 MB / 1.427 GB, free: 61.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004402/2.515, allocations: 3.31 MB / 1.43 GB, free: 58.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001289/2.516, allocations: 391.3 kB / 1.431 GB, free: 58.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/2.517, allocations: 103.4 kB / 1.431 GB, free: 57.99 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/2.517, allocations: 0 / 1.431 GB, free: 57.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.1214/2.638, allocations: 84.36 MB / 1.513 GB, free: 5.879 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches