Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001301/0.001301, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001551/0.001551, allocations: 207.8 kB / 22.99 MB, free: 4.957 MB / 14.72 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.53 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02791/0.3413, allocations: 21.55 MB / 1.348 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3529, allocations: 6.19 MB / 1.354 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.3549, allocations: 123.1 kB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.3593, allocations: 1.567 MB / 1.356 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.3637, allocations: 1.727 MB / 1.358 GB, free: 1.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3672, allocations: 1.341 MB / 1.359 GB, free: 392 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.3746, allocations: 5.936 MB / 1.365 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005184/0.3798, allocations: 3.232 MB / 1.368 GB, free: 7.105 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003961/0.3838, allocations: 2.497 MB / 1.37 GB, free: 4.602 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004902/0.3887, allocations: 3.069 MB / 1.373 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009857/0.3896, allocations: 456 kB / 1.374 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.3921, allocations: 1.038 MB / 1.375 GB, free: 40 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.3947, allocations: 2.085 MB / 1.377 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.3976, allocations: 1.755 MB / 1.378 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00937/0.407, allocations: 7.351 MB / 1.386 GB, free: 4.812 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.407, allocations: 3.938 kB / 1.386 GB, free: 4.809 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/0.407, allocations: 0 / 1.386 GB, free: 4.809 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001691/0.4072, allocations: 0 / 1.386 GB, free: 4.809 MB / 1.076 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.00876/0.4159, allocations: 3.841 MB / 1.389 GB, free: 0.918 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.416, allocations: 8.031 kB / 1.389 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/0.4224, allocations: 1.235 MB / 1.391 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005694/0.4281, allocations: 2.305 MB / 1.393 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.4283, allocations: 238.4 kB / 1.393 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/0.4291, allocations: 311.9 kB / 1.393 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.4402, allocations: 6.446 MB / 1.4 GB, free: 6.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.4403, allocations: 11.88 kB / 1.4 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/0.4407, allocations: 140 kB / 1.4 GB, free: 5.871 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005357/0.4412, allocations: 402.3 kB / 1.4 GB, free: 5.477 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008262/0.4495, allocations: 4.662 MB / 1.405 GB, free: 0.8047 MB / 1.092 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.02854/0.478, allocations: 18.08 MB / 1.422 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.4803, allocations: 1.369 MB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.4824, allocations: 1.437 MB / 1.425 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.289e-05/0.4824, allocations: 17 kB / 1.425 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.4825, allocations: 43.56 kB / 1.425 GB, free: 11.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.416e-06/0.4825, allocations: 0 / 1.425 GB, free: 11.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1436/0.6261, allocations: 37.06 MB / 1.461 GB, free: 6.215 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.6261, allocations: 73.39 kB / 1.461 GB, free: 6.129 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.6282, allocations: 1.36 MB / 1.463 GB, free: 4.758 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.6285, allocations: 53.7 kB / 1.463 GB, free: 4.699 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.6298, allocations: 1.586 MB / 1.464 GB, free: 3.098 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007428/0.6305, allocations: 0.643 MB / 1.465 GB, free: 2.449 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007828/0.6313, allocations: 383.5 kB / 1.465 GB, free: 2.066 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6314, allocations: 305.1 kB / 1.466 GB, free: 1.766 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.6343, allocations: 1.784 MB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/0.6375, allocations: 2.35 MB / 1.47 GB, free: 13.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006381/0.6439, allocations: 4.391 MB / 1.474 GB, free: 8.746 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.6439, allocations: 4 kB / 1.474 GB, free: 8.742 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01888/0.6628, allocations: 8.415 MB / 1.482 GB, free: 296 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.6628, allocations: 15.94 kB / 1.482 GB, free: 280 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.6629, allocations: 20.84 kB / 1.482 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/0.6785, allocations: 4.617 MB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6797, allocations: 303.4 kB / 1.487 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05136/0.7311, allocations: 31.43 MB / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.7331, allocations: 155.8 kB / 1.518 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.7334, allocations: 80 kB / 1.518 GB, free: 11.04 MB / 1.217 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.002465/0.7358, allocations: 1.325 MB / 1.519 GB, free: 9.703 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/0.7363, allocations: 206.7 kB / 1.519 GB, free: 9.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/0.7548, allocations: 8.289 MB / 1.528 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.7548, allocations: 16 kB / 1.528 GB, free: 1.148 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-05/0.7549, allocations: 24 kB / 1.528 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/0.7549, allocations: 15.89 kB / 1.528 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/0.7803, allocations: 11.64 MB / 1.539 GB, free: 5.309 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/0.7804, allocations: 8 kB / 1.539 GB, free: 5.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.7811, allocations: 163.7 kB / 1.539 GB, free: 5.141 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01492/0.796, allocations: 4.478 MB / 1.543 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/0.7964, allocations: 43.88 kB / 1.544 GB, free: 0.6016 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05055/0.8469, allocations: 31.02 MB / 1.574 GB, free: 0.9531 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.8469, allocations: 7.938 kB / 1.574 GB, free: 0.9453 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/0.865, allocations: 8.1 MB / 1.582 GB, free: 8.707 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.867, allocations: 0.5376 MB / 1.582 GB, free: 8.168 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/0.8674, allocations: 39.94 kB / 1.582 GB, free: 8.129 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.8687, allocations: 139.8 kB / 1.582 GB, free: 7.992 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/0.8696, allocations: 180.8 kB / 1.583 GB, free: 7.816 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.8697, allocations: 52 kB / 1.583 GB, free: 7.766 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001335/0.871, allocations: 0.8937 MB / 1.584 GB, free: 6.875 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.01e-07/0.871, allocations: 0 / 1.584 GB, free: 6.875 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003628/0.8747, allocations: 1.117 MB / 1.585 GB, free: 5.758 MB / 1.279 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.0003448/0.875, allocations: 152.9 kB / 1.585 GB, free: 5.598 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01326/0.8883, allocations: 6.304 MB / 1.591 GB, free: 15.22 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.8883, allocations: 4 kB / 1.591 GB, free: 15.21 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009686/0.898, allocations: 4.19 MB / 1.595 GB, free: 10.94 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.9005, allocations: 0.5072 MB / 1.596 GB, free: 10.45 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.9129, allocations: 7.006 MB / 1.602 GB, free: 3.344 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.9159, allocations: 2.158 MB / 1.604 GB, free: 1.141 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001109/0.917, allocations: 383.7 kB / 1.605 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.9173, allocations: 87.44 kB / 1.605 GB, free: 0.6758 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/0.9173, allocations: 0 / 1.605 GB, free: 0.6758 MB / 1.295 GB Notification: Performance of Templates: time 0.7713/1.689, allocations: 68.4 MB / 1.672 GB, free: 224.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.188939015992219]