Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001574/0.001574, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001859/0.001859, allocations: 194.3 kB / 17.3 MB, free: 5.52 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 64.3 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3335, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0261/0.3596, allocations: 22.59 MB / 1.041 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.371, allocations: 6.229 MB / 1.047 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.3732, allocations: 95.5 kB / 1.047 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.3777, allocations: 1.549 MB / 1.049 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.3824, allocations: 1.626 MB / 1.05 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.3865, allocations: 1.349 MB / 1.051 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007608/0.3941, allocations: 5.939 MB / 1.057 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009335/0.4035, allocations: 6.044 MB / 1.063 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.4082, allocations: 2.422 MB / 1.066 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.4133, allocations: 2.862 MB / 1.068 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.4152, allocations: 460 kB / 1.069 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.4196, allocations: 1.096 MB / 1.07 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004809/0.4244, allocations: 2.035 MB / 1.072 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006963/0.4314, allocations: 2.159 MB / 1.074 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.5867/1.018, allocations: 7.295 MB / 1.081 GB, free: 32.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.018, allocations: 3.25 kB / 1.081 GB, free: 32.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/1.018, allocations: 2.125 kB / 1.081 GB, free: 32.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002887/1.019, allocations: 1.375 kB / 1.081 GB, free: 32.36 MB / 0.8419 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.01438/1.033, allocations: 3.82 MB / 1.085 GB, free: 30.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.033, allocations: 9.219 kB / 1.085 GB, free: 30.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/1.041, allocations: 1.208 MB / 1.086 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007509/1.048, allocations: 2.333 MB / 1.088 GB, free: 30.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/1.049, allocations: 240.5 kB / 1.088 GB, free: 30.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/1.051, allocations: 323.3 kB / 1.089 GB, free: 30.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/1.066, allocations: 6.206 MB / 1.095 GB, free: 29.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/1.066, allocations: 20.08 kB / 1.095 GB, free: 29.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/1.066, allocations: 145.7 kB / 1.095 GB, free: 29.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006386/1.067, allocations: 409.3 kB / 1.095 GB, free: 29.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/1.079, allocations: 4.652 MB / 1.1 GB, free: 28.79 MB / 0.8419 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.03634/1.115, allocations: 28.95 MB / 1.128 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/1.118, allocations: 1.417 MB / 1.13 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/1.12, allocations: 1.482 MB / 1.131 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.12, allocations: 14.94 kB / 1.131 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.12, allocations: 44.06 kB / 1.131 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.737e-06/1.12, allocations: 0 / 1.131 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.1288/1.249, allocations: 37.23 MB / 1.167 GB, free: 172 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.249, allocations: 71.28 kB / 1.168 GB, free: 92 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/1.251, allocations: 1.425 MB / 1.169 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003332/1.252, allocations: 56.98 kB / 1.169 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.253, allocations: 1.533 MB / 1.17 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007934/1.253, allocations: 0.6133 MB / 1.171 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009193/1.254, allocations: 383.3 kB / 1.171 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.255, allocations: 305.1 kB / 1.172 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/1.257, allocations: 1.788 MB / 1.173 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/1.26, allocations: 2.343 MB / 1.176 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/1.266, allocations: 4.391 MB / 1.18 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.266, allocations: 8 kB / 1.18 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01755/1.284, allocations: 8.564 MB / 1.188 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.284, allocations: 16.25 kB / 1.188 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/1.284, allocations: 20 kB / 1.188 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/1.299, allocations: 4.627 MB / 1.193 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/1.301, allocations: 308.7 kB / 1.193 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05024/1.351, allocations: 32.59 MB / 1.225 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.354, allocations: 151.8 kB / 1.225 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/1.355, allocations: 84 kB / 1.225 GB, free: 3.902 MB / 0.92 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.003709/1.358, allocations: 1.324 MB / 1.227 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007707/1.359, allocations: 209 kB / 1.227 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.377, allocations: 8.442 MB / 1.235 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.377, allocations: 16 kB / 1.235 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/1.377, allocations: 24 kB / 1.235 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-05/1.377, allocations: 7.969 kB / 1.235 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/1.406, allocations: 12.85 MB / 1.248 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.406, allocations: 8 kB / 1.248 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/1.406, allocations: 166.8 kB / 1.248 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.421, allocations: 4.478 MB / 1.252 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003503/1.421, allocations: 40 kB / 1.252 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05024/1.471, allocations: 32.19 MB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.471, allocations: 10.91 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.489, allocations: 8.241 MB / 1.292 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/1.491, allocations: 0.6156 MB / 1.292 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007935/1.492, allocations: 43.92 kB / 1.292 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.494, allocations: 135.8 kB / 1.292 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/1.495, allocations: 167.4 kB / 1.293 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.495, allocations: 52 kB / 1.293 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001864/1.497, allocations: 0.9548 MB / 1.294 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.497, allocations: 0 / 1.294 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00461/1.501, allocations: 1.117 MB / 1.295 GB, free: 12.15 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 (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.0004555/1.502, allocations: 149.3 kB / 1.295 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.515, allocations: 6.548 MB / 1.301 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.515, allocations: 4 kB / 1.301 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/1.525, allocations: 4.36 MB / 1.306 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.53, allocations: 0.5245 MB / 1.306 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.548, allocations: 6.802 MB / 1.313 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005084/1.553, allocations: 2.731 MB / 1.315 GB, free: 6.934 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001343/1.554, allocations: 388.5 kB / 1.316 GB, free: 6.551 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.554, allocations: 99.42 kB / 1.316 GB, free: 6.453 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.554, allocations: 0 / 1.316 GB, free: 6.453 MB / 1.014 GB Notification: Performance of Templates: time 0.09724/1.652, allocations: 60.49 MB / 1.375 GB, free: 10.35 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches