Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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,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") 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_latest_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.001517/0.001517, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001497/0.001497, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.653/2.653, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 64.92 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.766, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02857/0.7946, allocations: 22.59 MB / 1.105 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.8077, allocations: 6.232 MB / 1.111 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.8104, allocations: 91.88 kB / 1.111 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.8149, allocations: 1.542 MB / 1.113 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.8199, allocations: 1.629 MB / 1.114 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.824, allocations: 1.34 MB / 1.116 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008241/0.8322, allocations: 5.94 MB / 1.121 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008558/0.8408, allocations: 6.096 MB / 1.127 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/0.8458, allocations: 2.408 MB / 1.13 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005738/0.8516, allocations: 2.861 MB / 1.132 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.8528, allocations: 456 kB / 1.133 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.856, allocations: 1.102 MB / 1.134 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00264/0.8587, allocations: 2.031 MB / 1.136 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.862, allocations: 2.172 MB / 1.138 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009032/0.871, allocations: 7.243 MB / 1.145 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8711, allocations: 4 kB / 1.145 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8711, allocations: 0 / 1.145 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002054/0.8713, allocations: 1.5 kB / 1.145 GB, free: 11.56 MB / 0.8731 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.01028/0.8816, allocations: 3.821 MB / 1.149 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8817, allocations: 9.562 kB / 1.149 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/0.8881, allocations: 1.208 MB / 1.15 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004812/0.8929, allocations: 2.22 MB / 1.152 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.8932, allocations: 242.8 kB / 1.152 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007139/0.8939, allocations: 318 kB / 1.153 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.9052, allocations: 6.215 MB / 1.159 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-05/0.9053, allocations: 15.88 kB / 1.159 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.9057, allocations: 136 kB / 1.159 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005458/0.9063, allocations: 410.3 kB / 1.159 GB, free: 104 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008839/0.9151, allocations: 4.658 MB / 1.164 GB, free: 11.43 MB / 0.8887 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.03733/0.9525, allocations: 29.13 MB / 1.192 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.9547, allocations: 1.42 MB / 1.194 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.9568, allocations: 1.491 MB / 1.195 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.133e-05/0.9569, allocations: 9 kB / 1.195 GB, free: 8.648 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.9569, allocations: 43.56 kB / 1.195 GB, free: 8.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.376e-06/0.9569, allocations: 0 / 1.195 GB, free: 8.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.1446/1.102, allocations: 37.23 MB / 1.232 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/1.102, allocations: 69.41 kB / 1.232 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/1.104, allocations: 1.427 MB / 1.233 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/1.104, allocations: 57.7 kB / 1.233 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.105, allocations: 1.539 MB / 1.235 GB, free: 152 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006783/1.106, allocations: 0.6085 MB / 1.235 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007559/1.107, allocations: 383.3 kB / 1.236 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.107, allocations: 301.1 kB / 1.236 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/1.11, allocations: 1.788 MB / 1.238 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.113, allocations: 2.346 MB / 1.24 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/1.119, allocations: 4.391 MB / 1.244 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.119, allocations: 4 kB / 1.244 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0183/1.137, allocations: 8.567 MB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/1.137, allocations: 12 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/1.137, allocations: 16 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/1.152, allocations: 4.671 MB / 1.257 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.153, allocations: 307.4 kB / 1.257 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04942/1.202, allocations: 32.62 MB / 1.289 GB, free: 6.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.205, allocations: 148.1 kB / 1.289 GB, free: 6.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/1.205, allocations: 84 kB / 1.29 GB, free: 6.496 MB / 1.014 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.002632/1.208, allocations: 1.338 MB / 1.291 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/1.208, allocations: 193.7 kB / 1.291 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.226, allocations: 8.437 MB / 1.299 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.226, allocations: 23.94 kB / 1.299 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.248e-05/1.226, allocations: 27.94 kB / 1.299 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/1.226, allocations: 7.969 kB / 1.299 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.252, allocations: 12.84 MB / 1.312 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.252, allocations: 4 kB / 1.312 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/1.253, allocations: 167.7 kB / 1.312 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/1.267, allocations: 4.523 MB / 1.316 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/1.268, allocations: 40 kB / 1.317 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05015/1.318, allocations: 32.22 MB / 1.348 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.318, allocations: 11.94 kB / 1.348 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.336, allocations: 8.233 MB / 1.356 GB, free: 1.215 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.338, allocations: 0.6156 MB / 1.357 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004878/1.338, allocations: 39.94 kB / 1.357 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.34, allocations: 135.8 kB / 1.357 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007996/1.341, allocations: 173.3 kB / 1.357 GB, free: 240 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.341, allocations: 48 kB / 1.357 GB, free: 192 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001483/1.342, allocations: 0.9588 MB / 1.358 GB, free: 15.23 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.144e-06/1.343, allocations: 0 / 1.358 GB, free: 15.23 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003651/1.346, allocations: 1.125 MB / 1.359 GB, free: 14.11 MB / 1.092 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.0003395/1.347, allocations: 151.5 kB / 1.359 GB, free: 13.95 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.361, allocations: 7.074 MB / 1.366 GB, free: 6.801 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.361, allocations: 0 / 1.366 GB, free: 6.801 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/1.371, allocations: 4.362 MB / 1.37 GB, free: 2.359 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.374, allocations: 0.5241 MB / 1.371 GB, free: 1.848 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.388, allocations: 7.389 MB / 1.378 GB, free: 10.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.392, allocations: 2.808 MB / 1.381 GB, free: 7.512 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/1.392, allocations: 99.44 kB / 1.381 GB, free: 7.414 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/1.392, allocations: 0 / 1.381 GB, free: 7.414 MB / 1.107 GB Notification: Performance of Templates: time 0.1752/1.568, allocations: 154 MB / 1.531 GB, free: 13.33 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches