Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001679/0.001679, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.397/2.397, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 66.02 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02529/0.3306, allocations: 22.6 MB / 0.9732 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.3424, allocations: 6.229 MB / 0.9793 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.3448, allocations: 99.5 kB / 0.9794 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.3494, allocations: 1.547 MB / 0.9809 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.354, allocations: 1.629 MB / 0.9825 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.3581, allocations: 1.336 MB / 0.9838 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007798/0.3659, allocations: 5.931 MB / 0.9896 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.3742, allocations: 6.048 MB / 0.9955 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.3784, allocations: 2.418 MB / 0.9978 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005022/0.3834, allocations: 2.866 MB / 1.001 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.3847, allocations: 460 kB / 1.001 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.3875, allocations: 1.096 MB / 1.002 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.39, allocations: 2.031 MB / 1.004 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.3933, allocations: 2.17 MB / 1.006 GB, free: 15.35 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007667/0.401, allocations: 7.291 MB / 1.013 GB, free: 8.043 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4011, allocations: 3.984 kB / 1.013 GB, free: 8.039 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4011, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001947/0.4013, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008462/0.4097, allocations: 3.816 MB / 1.017 GB, free: 4.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4098, allocations: 12.03 kB / 1.017 GB, free: 4.148 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.4159, allocations: 1.21 MB / 1.018 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.4214, allocations: 2.34 MB / 1.021 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.4216, allocations: 238.4 kB / 1.021 GB, free: 308 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.4227, allocations: 316 kB / 1.021 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4341, allocations: 6.212 MB / 1.027 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.673e-05/0.4343, allocations: 23.78 kB / 1.027 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000419/0.4347, allocations: 136 kB / 1.027 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005068/0.4352, allocations: 406.3 kB / 1.028 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008897/0.4441, allocations: 4.654 MB / 1.032 GB, free: 4.305 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03381/0.478, allocations: 28.95 MB / 1.061 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.48, allocations: 1.422 MB / 1.062 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.4819, allocations: 1.484 MB / 1.063 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.482, allocations: 13 kB / 1.063 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.482, allocations: 47.5 kB / 1.063 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 4.439e-06/0.482, allocations: 0 / 1.063 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.663/1.145, allocations: 37.23 MB / 1.1 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.145, allocations: 74.56 kB / 1.1 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/1.148, allocations: 1.425 MB / 1.101 GB, free: 121.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/1.148, allocations: 52.45 kB / 1.101 GB, free: 121.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009353/1.149, allocations: 1.531 MB / 1.103 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/1.15, allocations: 0.6147 MB / 1.103 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007374/1.151, allocations: 381.7 kB / 1.104 GB, free: 119.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/1.151, allocations: 306.5 kB / 1.104 GB, free: 119.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.153, allocations: 1.781 MB / 1.106 GB, free: 119 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/1.156, allocations: 2.347 MB / 1.108 GB, free: 117.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006505/1.163, allocations: 4.397 MB / 1.112 GB, free: 115.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/1.163, allocations: 5.812 kB / 1.112 GB, free: 115.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0183/1.181, allocations: 8.57 MB / 1.121 GB, free: 111 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/1.181, allocations: 12.66 kB / 1.121 GB, free: 111 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/1.181, allocations: 16.41 kB / 1.121 GB, free: 111 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/1.196, allocations: 4.64 MB / 1.125 GB, free: 108.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.197, allocations: 301.9 kB / 1.126 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03869/1.236, allocations: 32.59 MB / 1.157 GB, free: 80.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/1.239, allocations: 155.8 kB / 1.158 GB, free: 80.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/1.239, allocations: 80 kB / 1.158 GB, free: 80.31 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002218/1.241, allocations: 1.334 MB / 1.159 GB, free: 78.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/1.242, allocations: 197.7 kB / 1.159 GB, free: 78.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.256, allocations: 8.442 MB / 1.167 GB, free: 70.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.256, allocations: 19.94 kB / 1.167 GB, free: 70.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.395e-05/1.256, allocations: 27.94 kB / 1.167 GB, free: 70.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.257, allocations: 7.969 kB / 1.167 GB, free: 70.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/1.278, allocations: 12.84 MB / 1.18 GB, free: 57.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/1.278, allocations: 8 kB / 1.18 GB, free: 57.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/1.278, allocations: 163.7 kB / 1.18 GB, free: 57.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/1.291, allocations: 4.491 MB / 1.185 GB, free: 52.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.292, allocations: 36 kB / 1.185 GB, free: 52.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03699/1.329, allocations: 32.2 MB / 1.216 GB, free: 19.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.329, allocations: 13.91 kB / 1.216 GB, free: 19.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.343, allocations: 8.235 MB / 1.224 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.345, allocations: 0.6195 MB / 1.225 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/1.345, allocations: 36 kB / 1.225 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.347, allocations: 139.8 kB / 1.225 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008746/1.348, allocations: 168.9 kB / 1.225 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.348, allocations: 51.94 kB / 1.225 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001187/1.349, allocations: 0.9621 MB / 1.226 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.349, allocations: 0 / 1.226 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003681/1.353, allocations: 1.117 MB / 1.227 GB, free: 8.066 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/1.353, allocations: 152.1 kB / 1.227 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.364, allocations: 6.546 MB / 1.234 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.364, allocations: 4 kB / 1.234 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008986/1.373, allocations: 4.36 MB / 1.238 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.376, allocations: 0.5204 MB / 1.238 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.389, allocations: 6.803 MB / 1.245 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003349/1.393, allocations: 2.723 MB / 1.248 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001179/1.394, allocations: 387.3 kB / 1.248 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.394, allocations: 99.44 kB / 1.248 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of SimCode: time 1.333e-06/1.394, allocations: 0 / 1.248 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of Templates: time 0.0976/1.492, allocations: 60.49 MB / 1.307 GB, free: 6.121 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches