Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001371/0.001371, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001391/0.001391, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.487/1.487, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01161/1.127, allocations: 10.03 MB / 1.272 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006027/1.133, allocations: 3.048 MB / 1.275 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/1.134, allocations: 38 kB / 1.275 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/1.136, allocations: 0.6713 MB / 1.276 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/1.138, allocations: 0.6883 MB / 1.277 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/1.14, allocations: 0.6466 MB / 1.277 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005055/1.145, allocations: 2.734 MB / 1.28 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/1.149, allocations: 2.537 MB / 1.282 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/1.152, allocations: 1.123 MB / 1.284 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/1.155, allocations: 1.379 MB / 1.285 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004837/1.156, allocations: 216.4 kB / 1.285 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/1.157, allocations: 492.7 kB / 1.286 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/1.158, allocations: 0.9797 MB / 1.287 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/1.16, allocations: 1.018 MB / 1.288 GB, free: 9.621 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005771/1.166, allocations: 3.415 MB / 1.291 GB, free: 8.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.166, allocations: 0 / 1.291 GB, free: 8.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.365e-06/1.166, allocations: 0 / 1.291 GB, free: 8.562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.588e-05/1.166, allocations: 1.312 kB / 1.291 GB, free: 8.562 MB / 1.014 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.00547/1.172, allocations: 1.993 MB / 1.293 GB, free: 7.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.172, allocations: 9.719 kB / 1.293 GB, free: 7.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/1.178, allocations: 0.8931 MB / 1.294 GB, free: 7.172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/1.181, allocations: 1.17 MB / 1.295 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.181, allocations: 109.8 kB / 1.295 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/1.181, allocations: 142.5 kB / 1.295 GB, free: 6.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/1.188, allocations: 3.021 MB / 1.298 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/1.188, allocations: 2.312 kB / 1.298 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/1.188, allocations: 62.94 kB / 1.298 GB, free: 5.195 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/1.188, allocations: 176.6 kB / 1.298 GB, free: 5.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005204/1.194, allocations: 2.608 MB / 1.301 GB, free: 4.328 MB / 1.014 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.02307/1.217, allocations: 13.5 MB / 1.314 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.219, allocations: 1.297 MB / 1.315 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/1.221, allocations: 1.056 MB / 1.316 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/1.221, allocations: 8.688 kB / 1.316 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.221, allocations: 39.28 kB / 1.316 GB, free: 9.637 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 5.801e-06/1.221, allocations: 3.984 kB / 1.316 GB, free: 9.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07997/1.301, allocations: 19.42 MB / 1.335 GB, free: 3.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.301, allocations: 70.12 kB / 1.335 GB, free: 3.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.303, allocations: 0.9259 MB / 1.336 GB, free: 2.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.303, allocations: 46.11 kB / 1.336 GB, free: 2.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/1.304, allocations: 0.7489 MB / 1.337 GB, free: 2.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000679/1.305, allocations: 0.5032 MB / 1.338 GB, free: 1.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007823/1.305, allocations: 296.4 kB / 1.338 GB, free: 1.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002701/1.306, allocations: 351 kB / 1.338 GB, free: 1.082 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.308, allocations: 1.342 MB / 1.34 GB, free: 408 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/1.31, allocations: 1.657 MB / 1.341 GB, free: 15.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/1.315, allocations: 3.088 MB / 1.344 GB, free: 13.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.315, allocations: 2.344 kB / 1.344 GB, free: 13.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.013/1.328, allocations: 5.647 MB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/1.328, allocations: 9.156 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/1.328, allocations: 17.05 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009923/1.338, allocations: 2.71 MB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/1.339, allocations: 196.8 kB / 1.353 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04286/1.382, allocations: 25.74 MB / 1.378 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.384, allocations: 99.94 kB / 1.378 GB, free: 412 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.384, allocations: 56 kB / 1.378 GB, free: 356 kB / 1.061 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.001471/1.386, allocations: 0.7315 MB / 1.379 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.386, allocations: 123.2 kB / 1.379 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.398, allocations: 5.388 MB / 1.384 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.398, allocations: 16 kB / 1.384 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/1.398, allocations: 16 kB / 1.384 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.398, allocations: 3.984 kB / 1.384 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.416, allocations: 8.689 MB / 1.392 GB, free: 1.211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.416, allocations: 7.938 kB / 1.392 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/1.417, allocations: 119.8 kB / 1.393 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008928/1.426, allocations: 2.594 MB / 1.395 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/1.426, allocations: 28 kB / 1.395 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03833/1.464, allocations: 24.17 MB / 1.419 GB, free: 5.715 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.464, allocations: 4 kB / 1.419 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.476, allocations: 5.261 MB / 1.424 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.477, allocations: 492.2 kB / 1.424 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.478, allocations: 31.95 kB / 1.424 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.479, allocations: 79.89 kB / 1.424 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006426/1.479, allocations: 121 kB / 1.425 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.479, allocations: 44 kB / 1.425 GB, free: 15.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001003/1.48, allocations: 0.6473 MB / 1.425 GB, free: 14.95 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.481, allocations: 192 / 1.425 GB, free: 14.95 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002811/1.483, allocations: 0.7188 MB / 1.426 GB, free: 14.23 MB / 1.123 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.0002971/1.484, allocations: 135.1 kB / 1.426 GB, free: 14.09 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008083/1.492, allocations: 4.233 MB / 1.43 GB, free: 9.809 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.492, allocations: 0 / 1.43 GB, free: 9.809 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006066/1.498, allocations: 2.72 MB / 1.433 GB, free: 7.039 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.499, allocations: 227.8 kB / 1.433 GB, free: 6.824 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/1.507, allocations: 4.302 MB / 1.437 GB, free: 2.449 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.509, allocations: 1.731 MB / 1.439 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.51, allocations: 63.44 kB / 1.439 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of SimCode: time 6.71e-07/1.51, allocations: 0 / 1.439 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of Templates: time 0.07965/1.59, allocations: 59.99 MB / 1.498 GB, free: 4.617 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.80746983597055]