Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 187.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.4 MB / 0.7321 GB, free: 12.4 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.88 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8656, allocations: 160.8 MB / 1.218 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01455/0.8801, allocations: 10.46 MB / 1.229 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006377/0.8865, allocations: 3.126 MB / 1.232 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.8871, allocations: 50.22 kB / 1.232 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.8892, allocations: 0.7123 MB / 1.232 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.8909, allocations: 0.7328 MB / 1.233 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.8925, allocations: 0.6509 MB / 1.234 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.8965, allocations: 2.742 MB / 1.237 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.8984, allocations: 1.267 MB / 1.238 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.9002, allocations: 1.149 MB / 1.239 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.9026, allocations: 1.496 MB / 1.24 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003381/0.9029, allocations: 216 kB / 1.241 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.9039, allocations: 0.4954 MB / 1.241 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.9052, allocations: 1.009 MB / 1.242 GB, free: 15.04 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.9066, allocations: 1.011 MB / 1.243 GB, free: 14.02 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.9106, allocations: 3.417 MB / 1.246 GB, free: 10.6 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9106, allocations: 0 / 1.246 GB, free: 10.6 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9106, allocations: 0 / 1.246 GB, free: 10.6 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 3.782e-05/0.9106, allocations: 0 / 1.246 GB, free: 10.6 MB / 0.9513 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.003679/0.9143, allocations: 1.988 MB / 1.248 GB, free: 8.555 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.9144, allocations: 8.031 kB / 1.248 GB, free: 8.547 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.9199, allocations: 0.897 MB / 1.249 GB, free: 7.648 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.9228, allocations: 1.169 MB / 1.25 GB, free: 6.438 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.9228, allocations: 115.2 kB / 1.25 GB, free: 6.324 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.9231, allocations: 144.4 kB / 1.251 GB, free: 6.184 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.9282, allocations: 3.021 MB / 1.254 GB, free: 3.062 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.9283, allocations: 3.938 kB / 1.254 GB, free: 3.059 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.9285, allocations: 59.98 kB / 1.254 GB, free: 3 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/0.9287, allocations: 175 kB / 1.254 GB, free: 2.828 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/0.9333, allocations: 2.608 MB / 1.256 GB, free: 220 kB / 0.9513 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.01944/0.9527, allocations: 13.5 MB / 1.269 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.9549, allocations: 1.229 MB / 1.271 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.9564, allocations: 0.9762 MB / 1.272 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.9565, allocations: 12.64 kB / 1.272 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.9565, allocations: 47.2 kB / 1.272 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.9565, allocations: 4 kB / 1.272 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07289/1.029, allocations: 19.33 MB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.03, allocations: 68.72 kB / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.031, allocations: 0.9223 MB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/1.031, allocations: 45.7 kB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/1.032, allocations: 0.75 MB / 1.292 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008448/1.033, allocations: 0.5035 MB / 1.293 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008579/1.034, allocations: 295.5 kB / 1.293 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003443/1.034, allocations: 357.9 kB / 1.293 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/1.036, allocations: 1.335 MB / 1.295 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/1.039, allocations: 1.663 MB / 1.296 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/1.043, allocations: 3.082 MB / 1.299 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.043, allocations: 4 kB / 1.299 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01257/1.056, allocations: 5.557 MB / 1.305 GB, free: 12.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.056, allocations: 8 kB / 1.305 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.056, allocations: 11.94 kB / 1.305 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009202/1.065, allocations: 2.722 MB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/1.066, allocations: 191.7 kB / 1.308 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04118/1.107, allocations: 25.74 MB / 1.333 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.109, allocations: 95.95 kB / 1.333 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.109, allocations: 52 kB / 1.333 GB, free: 15.58 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001224/1.11, allocations: 0.7355 MB / 1.334 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/1.11, allocations: 119.2 kB / 1.334 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.122, allocations: 5.314 MB / 1.339 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/1.122, allocations: 16 kB / 1.339 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/1.122, allocations: 16 kB / 1.339 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.122, allocations: 11.97 kB / 1.339 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.14, allocations: 8.611 MB / 1.347 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.14, allocations: 4.375 kB / 1.347 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/1.141, allocations: 119.8 kB / 1.348 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008642/1.15, allocations: 2.584 MB / 1.35 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.15, allocations: 32 kB / 1.35 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03846/1.188, allocations: 24.19 MB / 1.374 GB, free: 5.098 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.188, allocations: 11.92 kB / 1.374 GB, free: 5.086 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.2, allocations: 5.167 MB / 1.379 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.202, allocations: 0.4884 MB / 1.379 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/1.202, allocations: 28 kB / 1.379 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.203, allocations: 79.89 kB / 1.379 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006502/1.204, allocations: 129 kB / 1.379 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.204, allocations: 36 kB / 1.379 GB, free: 15.06 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001233/1.205, allocations: 0.6434 MB / 1.38 GB, free: 14.42 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.205, allocations: 0 / 1.38 GB, free: 14.42 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003243/1.208, allocations: 0.7227 MB / 1.381 GB, free: 13.7 MB / 1.092 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003755/1.209, allocations: 139.1 kB / 1.381 GB, free: 13.55 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008029/1.217, allocations: 4.07 MB / 1.385 GB, free: 9.426 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/1.217, allocations: 0.5 kB / 1.385 GB, free: 9.426 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005815/1.223, allocations: 2.623 MB / 1.387 GB, free: 6.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.224, allocations: 228.2 kB / 1.388 GB, free: 6.539 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/1.233, allocations: 4.063 MB / 1.392 GB, free: 2.41 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/1.236, allocations: 1.708 MB / 1.393 GB, free: 0.668 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001018/1.237, allocations: 325.5 kB / 1.394 GB, free: 356 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/1.237, allocations: 51.44 kB / 1.394 GB, free: 304 kB / 1.092 GB Notification: Performance of SimCode: time 1.193e-06/1.237, allocations: 0 / 1.394 GB, free: 304 kB / 1.092 GB Notification: Performance of Templates: time 0.06978/1.307, allocations: 41.99 MB / 1.435 GB, free: 6.441 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.068552907556295]