Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.787/2.787, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.007e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03095/0.03098, allocations: 21.15 MB / 0.807 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.04407, allocations: 6.132 MB / 0.813 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.04624, allocations: 127 kB / 0.8132 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005002/0.05124, allocations: 1.574 MB / 0.8147 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.05624, allocations: 1.771 MB / 0.8164 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.06028, allocations: 1.353 MB / 0.8177 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009241/0.06952, allocations: 6.04 MB / 0.8236 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006554/0.07607, allocations: 3.206 MB / 0.8268 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00709/0.08316, allocations: 3.435 MB / 0.8301 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.0891, allocations: 2.782 MB / 0.8328 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.09055, allocations: 456 kB / 0.8333 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.09372, allocations: 1.057 MB / 0.8343 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003725/0.09744, allocations: 2.182 MB / 0.8364 GB, free: 9.348 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004057/0.1015, allocations: 1.509 MB / 0.8379 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.1135, allocations: 7.433 MB / 0.8452 GB, free: 392 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.1135, allocations: 4 kB / 0.8452 GB, free: 388 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1135, allocations: 0 / 0.8452 GB, free: 388 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002123/0.1137, allocations: 0 / 0.8452 GB, free: 388 kB / 0.7917 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.009355/0.123, allocations: 3.803 MB / 0.8489 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1231, allocations: 12.02 kB / 0.8489 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007323/0.1304, allocations: 1.695 MB / 0.8506 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.1361, allocations: 2.414 MB / 0.8529 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.1364, allocations: 246.3 kB / 0.8532 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/0.1373, allocations: 319.9 kB / 0.8535 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.1503, allocations: 6.442 MB / 0.8597 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-05/0.1504, allocations: 19.88 kB / 0.8598 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/0.1508, allocations: 136 kB / 0.8599 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000601/0.1514, allocations: 406.3 kB / 0.8603 GB, free: 500 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.1625, allocations: 4.658 MB / 0.8648 GB, free: 11.82 MB / 0.823 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.03587/0.1984, allocations: 18.17 MB / 0.8826 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.2009, allocations: 1.373 MB / 0.8839 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.2033, allocations: 1.436 MB / 0.8853 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.2035, allocations: 17 kB / 0.8853 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.2035, allocations: 39.56 kB / 0.8854 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.306e-06/0.2035, allocations: 0 / 0.8854 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.1515/0.355, allocations: 37.11 MB / 0.9216 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.3551, allocations: 73.41 kB / 0.9217 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.3576, allocations: 1.364 MB / 0.923 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.3579, allocations: 49.7 kB / 0.9231 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.3594, allocations: 1.59 MB / 0.9246 GB, free: 14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/0.3603, allocations: 0.6273 MB / 0.9252 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008385/0.3611, allocations: 383.5 kB / 0.9256 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3613, allocations: 305.1 kB / 0.9259 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.3643, allocations: 1.788 MB / 0.9276 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003912/0.3682, allocations: 2.354 MB / 0.9299 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/0.3753, allocations: 4.391 MB / 0.9342 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3753, allocations: 8 kB / 0.9342 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02101/0.3964, allocations: 8.494 MB / 0.9425 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.3964, allocations: 16 kB / 0.9425 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.3964, allocations: 20 kB / 0.9426 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01837/0.4148, allocations: 4.781 MB / 0.9472 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4162, allocations: 307.4 kB / 0.9475 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05782/0.474, allocations: 31.54 MB / 0.9783 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.4762, allocations: 151.8 kB / 0.9785 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.4764, allocations: 80 kB / 0.9785 GB, free: 5.586 MB / 0.9323 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.002574/0.479, allocations: 1.336 MB / 0.9798 GB, free: 4.238 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.4797, allocations: 258.8 kB / 0.9801 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/0.5001, allocations: 8.289 MB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/0.5002, allocations: 23.94 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/0.5002, allocations: 27.98 kB / 0.9882 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.806e-05/0.5003, allocations: 7.969 kB / 0.9882 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.5275, allocations: 11.64 MB / 0.9996 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.5275, allocations: 4 kB / 0.9996 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.5283, allocations: 159.8 kB / 0.9998 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01702/0.5453, allocations: 4.64 MB / 1.004 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/0.5456, allocations: 36 kB / 1.004 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05559/0.6012, allocations: 31.13 MB / 1.035 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.6012, allocations: 15.97 kB / 1.035 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/0.6209, allocations: 8.143 MB / 1.043 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.6226, allocations: 0.5454 MB / 1.043 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/0.6229, allocations: 39.98 kB / 1.043 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.6243, allocations: 135.8 kB / 1.043 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009002/0.6252, allocations: 180.8 kB / 1.044 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.6254, allocations: 51.94 kB / 1.044 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001456/0.6268, allocations: 0.8976 MB / 1.044 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6268, allocations: 0 / 1.044 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.392/1.019, allocations: 1.114 MB / 1.046 GB, free: 280.9 MB / 0.9948 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.0005546/1.019, allocations: 141.9 kB / 1.046 GB, free: 280.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.031, allocations: 6.313 MB / 1.052 GB, free: 280 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.031, allocations: 3.812 kB / 1.052 GB, free: 280 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00832/1.039, allocations: 4.179 MB / 1.056 GB, free: 279.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.042, allocations: 0.5092 MB / 1.056 GB, free: 279 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.055, allocations: 7.077 MB / 1.063 GB, free: 275.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.058, allocations: 2.17 MB / 1.065 GB, free: 275.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001171/1.059, allocations: 379.2 kB / 1.066 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.06, allocations: 93.98 kB / 1.066 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/1.06, allocations: 0 / 1.066 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.08036/1.14, allocations: 63.8 MB / 1.128 GB, free: 241.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.05674682604149]