Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.002028/0.002028, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002504/0.002504, allocations: 215 kB / 22.3 MB, free: 5.281 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.485/1.485, allocations: 230.6 MB / 256.1 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.421/3.421, allocations: 0.5107 GB / 0.8159 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [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.002091/0.002091, allocations: 64.53 kB / 1.186 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02936/0.3788, allocations: 22.26 MB / 1.386 GB, free: 7.137 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.3912, allocations: 6.446 MB / 1.392 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.393, allocations: 131 kB / 1.392 GB, free: 0.543 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.3975, allocations: 1.507 MB / 1.394 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.4023, allocations: 1.949 MB / 1.396 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.406, allocations: 1.46 MB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008622/0.4147, allocations: 6.901 MB / 1.404 GB, free: 4.695 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006548/0.4212, allocations: 3.735 MB / 1.407 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.426, allocations: 2.925 MB / 1.41 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005868/0.4319, allocations: 3.567 MB / 1.414 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.4333, allocations: 0.5312 MB / 1.414 GB, free: 9.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.4362, allocations: 1.104 MB / 1.415 GB, free: 8.715 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003584/0.4398, allocations: 2.533 MB / 1.418 GB, free: 6.176 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.4433, allocations: 2.05 MB / 1.42 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4545, allocations: 8.593 MB / 1.428 GB, free: 11.49 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4545, allocations: 0 / 1.428 GB, free: 11.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4545, allocations: 0 / 1.428 GB, free: 11.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002748/0.4548, allocations: 0 / 1.428 GB, free: 11.49 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01023/0.465, allocations: 4.479 MB / 1.433 GB, free: 6.957 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4651, allocations: 8.031 kB / 1.433 GB, free: 6.949 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008916/0.474, allocations: 1.711 MB / 1.434 GB, free: 5.234 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005867/0.4799, allocations: 2.668 MB / 1.437 GB, free: 2.523 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4801, allocations: 279.7 kB / 1.437 GB, free: 2.25 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/0.4809, allocations: 356.3 kB / 1.437 GB, free: 1.902 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.4944, allocations: 7.713 MB / 1.445 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.352e-05/0.4945, allocations: 19.86 kB / 1.445 GB, free: 9.848 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.495, allocations: 163.9 kB / 1.445 GB, free: 9.688 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006443/0.4957, allocations: 483.4 kB / 1.446 GB, free: 9.215 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.5066, allocations: 5.697 MB / 1.451 GB, free: 3.512 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.5397, allocations: 19.96 MB / 1.471 GB, free: 15.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.5429, allocations: 2.012 MB / 1.473 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.5462, allocations: 2.1 MB / 1.475 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.5464, allocations: 17.31 kB / 1.475 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.5464, allocations: 51.88 kB / 1.475 GB, free: 10.9 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 4.057e-06/0.5464, allocations: 0 / 1.475 GB, free: 10.9 MB / 1.17 GB Notification: Performance of matching and sorting (n=251): time 0.3344/0.8808, allocations: 76.71 MB / 1.55 GB, free: 14.05 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.8809, allocations: 85.34 kB / 1.55 GB, free: 13.96 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.8834, allocations: 1.61 MB / 1.551 GB, free: 12.35 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004563/0.8839, allocations: 65.7 kB / 1.551 GB, free: 12.28 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.8853, allocations: 1.803 MB / 1.553 GB, free: 10.46 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.8864, allocations: 0.8907 MB / 1.554 GB, free: 9.559 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.8876, allocations: 485.4 kB / 1.554 GB, free: 9.078 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8878, allocations: 313.1 kB / 1.555 GB, free: 8.77 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.8923, allocations: 2.73 MB / 1.557 GB, free: 6.035 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/0.8974, allocations: 3.332 MB / 1.561 GB, free: 2.453 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009934/0.9073, allocations: 6.39 MB / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.9073, allocations: 4 kB / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03651/0.9438, allocations: 14.4 MB / 1.581 GB, free: 13.37 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.9439, allocations: 12 kB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.9439, allocations: 20.09 kB / 1.581 GB, free: 13.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03289/0.9768, allocations: 9.194 MB / 1.59 GB, free: 4.117 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.9781, allocations: 303.4 kB / 1.59 GB, free: 3.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7611/1.739, allocations: 50.84 MB / 1.64 GB, free: 209.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.742, allocations: 220.6 kB / 1.64 GB, free: 209.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.742, allocations: 106.5 kB / 1.64 GB, free: 209.7 MB / 1.295 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002461/1.745, allocations: 1.587 MB / 1.642 GB, free: 209.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/1.745, allocations: 248 kB / 1.642 GB, free: 209.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/1.776, allocations: 14.48 MB / 1.656 GB, free: 205.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.776, allocations: 23.59 kB / 1.656 GB, free: 205.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001035/1.777, allocations: 46.72 kB / 1.656 GB, free: 205.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/1.777, allocations: 11.44 kB / 1.656 GB, free: 205.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03522/1.812, allocations: 18.94 MB / 1.675 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.812, allocations: 9.562 kB / 1.675 GB, free: 198.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/1.813, allocations: 158.5 kB / 1.675 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04249/1.855, allocations: 8.972 MB / 1.684 GB, free: 190.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006845/1.856, allocations: 51.94 kB / 1.684 GB, free: 190.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.078/1.934, allocations: 50.41 MB / 1.733 GB, free: 139.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.934, allocations: 7.938 kB / 1.733 GB, free: 139.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03376/1.968, allocations: 14.09 MB / 1.747 GB, free: 125 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002967/1.971, allocations: 0.7805 MB / 1.747 GB, free: 124.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/1.971, allocations: 50.11 kB / 1.748 GB, free: 124.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.975, allocations: 211.7 kB / 1.748 GB, free: 124 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/1.976, allocations: 249.3 kB / 1.748 GB, free: 123.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.977, allocations: 68 kB / 1.748 GB, free: 123.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001763/1.978, allocations: 1.072 MB / 1.749 GB, free: 122.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.1e-07/1.978, allocations: 0 / 1.749 GB, free: 122.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006108/1.984, allocations: 1.609 MB / 1.751 GB, free: 121 MB / 1.295 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004784/1.985, allocations: 161.2 kB / 1.751 GB, free: 120.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03138/2.016, allocations: 10.19 MB / 1.761 GB, free: 110.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.016, allocations: 0 / 1.761 GB, free: 110.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0248/2.041, allocations: 7.025 MB / 1.768 GB, free: 103.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/2.045, allocations: 0.5387 MB / 1.768 GB, free: 103.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/2.065, allocations: 8.929 MB / 1.777 GB, free: 94.07 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004917/2.07, allocations: 2.677 MB / 1.779 GB, free: 91.35 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00166/2.071, allocations: 378.8 kB / 1.78 GB, free: 90.98 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/2.072, allocations: 96.5 kB / 1.78 GB, free: 90.88 MB / 1.295 GB Notification: Performance of SimCode: time 1.733e-06/2.072, allocations: 0 / 1.78 GB, free: 90.88 MB / 1.295 GB Notification: Performance of Templates: time 0.1314/2.203, allocations: 97.4 MB / 1.875 GB, free: 9.934 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 12.854670260101557]