Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 172.7 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.00117, allocations: 90.23 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.089e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6187/0.8029, allocations: 160.8 MB / 1.042 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.8033, allocations: 98.36 kB / 1.042 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.139/0.9423, allocations: 60.13 MB / 1.101 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9423, allocations: 0 / 1.101 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.867e-05/0.9424, allocations: 32 kB / 1.101 GB, free: 7.953 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002591/0.945, allocations: 1.502 MB / 1.103 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.945, allocations: 8.031 kB / 1.103 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.9475, allocations: 469.4 kB / 1.103 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.9491, allocations: 1.139 MB / 1.104 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.9492, allocations: 52 kB / 1.104 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.9494, allocations: 80 kB / 1.104 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002743/0.9522, allocations: 1.969 MB / 1.106 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.9557, allocations: 2.543 MB / 1.109 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.9558, allocations: 4 kB / 1.109 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.9559, allocations: 0 / 1.109 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004277/0.9564, allocations: 158.9 kB / 1.109 GB, free: 0.7266 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.9721, allocations: 13.76 MB / 1.122 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.9739, allocations: 1.288 MB / 1.124 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.9752, allocations: 1.074 MB / 1.125 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.9752, allocations: 20.67 kB / 1.125 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.9753, allocations: 39.34 kB / 1.125 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.9753, allocations: 0 / 1.125 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139): time 0.02469/1, allocations: 9.009 MB / 1.133 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1, allocations: 68.72 kB / 1.133 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.001, allocations: 0.8745 MB / 1.134 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.001, allocations: 25.7 kB / 1.134 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/1.002, allocations: 0.7244 MB / 1.135 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/1.002, allocations: 465 kB / 1.136 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/1.003, allocations: 4 kB / 1.136 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.003, allocations: 418.7 kB / 1.136 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/1.005, allocations: 1.425 MB / 1.137 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.007, allocations: 1.722 MB / 1.139 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1.01, allocations: 1.985 MB / 1.141 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.01, allocations: 7.984 kB / 1.141 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01075/1.021, allocations: 5.574 MB / 1.146 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.021, allocations: 12.12 kB / 1.146 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.021, allocations: 8 kB / 1.146 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007462/1.029, allocations: 2.696 MB / 1.149 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008663/1.03, allocations: 215.6 kB / 1.149 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/1.051, allocations: 15.2 MB / 1.164 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.052, allocations: 67.92 kB / 1.164 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/1.053, allocations: 167.9 kB / 1.164 GB, free: 6.285 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003903/1.053, allocations: 127.6 kB / 1.164 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/1.053, allocations: 110.7 kB / 1.165 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009682/1.063, allocations: 5.046 MB / 1.169 GB, free: 0.9727 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.063, allocations: 12 kB / 1.169 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.063, allocations: 15.95 kB / 1.169 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.063, allocations: 11.97 kB / 1.17 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.078, allocations: 8.159 MB / 1.177 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.078, allocations: 4 kB / 1.177 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/1.078, allocations: 123.8 kB / 1.178 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007122/1.085, allocations: 2.525 MB / 1.18 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.085, allocations: 35.94 kB / 1.18 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/1.104, allocations: 12.83 MB / 1.193 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.104, allocations: 4 kB / 1.193 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009172/1.113, allocations: 4.943 MB / 1.197 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.114, allocations: 0.5933 MB / 1.198 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.114, allocations: 4 kB / 1.198 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/1.115, allocations: 59.77 kB / 1.198 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/1.116, allocations: 133 kB / 1.198 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.116, allocations: 119.9 kB / 1.198 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009179/1.117, allocations: 0.6592 MB / 1.199 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.272e-06/1.117, allocations: 0 / 1.199 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00202/1.119, allocations: 0.5273 MB / 1.199 GB, free: 1.625 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/1.119, allocations: 127.1 kB / 1.2 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.126, allocations: 3.9 MB / 1.203 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.126, allocations: 64 / 1.203 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/1.131, allocations: 2.297 MB / 1.206 GB, free: 11.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.132, allocations: 155.6 kB / 1.206 GB, free: 11.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/1.138, allocations: 3.234 MB / 1.209 GB, free: 7.785 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/1.14, allocations: 1.697 MB / 1.211 GB, free: 6.055 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001145/1.141, allocations: 401 kB / 1.211 GB, free: 5.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/1.141, allocations: 71.41 kB / 1.211 GB, free: 5.59 MB / 0.823 GB Notification: Performance of SimCode: time 7.71e-07/1.141, allocations: 7.875 kB / 1.211 GB, free: 5.582 MB / 0.823 GB Notification: Performance of Templates: time 0.05282/1.194, allocations: 37.88 MB / 1.248 GB, free: 15.74 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches