Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001674/0.001674, allocations: 110.6 kB / 18.88 MB, free: 3.062 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.002114/0.002114, allocations: 194.2 kB / 22.17 MB, free: 5.652 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.459/1.459, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7878, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01481/0.8026, allocations: 10.5 MB / 1.284 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006292/0.8089, allocations: 3.26 MB / 1.287 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.8096, allocations: 39.81 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.8116, allocations: 0.6327 MB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.8135, allocations: 0.7778 MB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.8153, allocations: 0.7523 MB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.8191, allocations: 2.996 MB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.8213, allocations: 1.301 MB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.8234, allocations: 1.262 MB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.8263, allocations: 1.71 MB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.8267, allocations: 236 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.8278, allocations: 0.4994 MB / 1.297 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.8291, allocations: 1.103 MB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.8304, allocations: 1.112 MB / 1.3 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.8344, allocations: 3.69 MB / 1.303 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8344, allocations: 0 / 1.303 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8344, allocations: 0 / 1.303 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.875e-05/0.8345, allocations: 3.984 kB / 1.303 GB, free: 6.504 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004406/0.8389, allocations: 2.202 MB / 1.305 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8389, allocations: 12.03 kB / 1.305 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009452/0.8484, allocations: 1.318 MB / 1.307 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.8515, allocations: 1.302 MB / 1.308 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.8516, allocations: 115.4 kB / 1.308 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.852, allocations: 156.3 kB / 1.308 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005706/0.8577, allocations: 3.433 MB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.197e-05/0.8577, allocations: 7.891 kB / 1.312 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.858, allocations: 67.97 kB / 1.312 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/0.8582, allocations: 207.1 kB / 1.312 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.8634, allocations: 3.124 MB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.8842, allocations: 13.55 MB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.8869, allocations: 1.622 MB / 1.33 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/0.889, allocations: 1.331 MB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.8891, allocations: 13 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.8891, allocations: 47.56 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.467e-06/0.8891, allocations: 0 / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1569/1.046, allocations: 36.56 MB / 1.367 GB, free: 4.203 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/1.046, allocations: 73.34 kB / 1.367 GB, free: 4.117 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.048, allocations: 1.058 MB / 1.368 GB, free: 3.035 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004135/1.048, allocations: 53.7 kB / 1.368 GB, free: 2.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/1.049, allocations: 0.8132 MB / 1.369 GB, free: 2.152 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.05, allocations: 0.6506 MB / 1.369 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.051, allocations: 363.5 kB / 1.37 GB, free: 1.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.052, allocations: 301.1 kB / 1.37 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.055, allocations: 1.928 MB / 1.372 GB, free: 14.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/1.058, allocations: 2.296 MB / 1.374 GB, free: 12.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006828/1.065, allocations: 4.39 MB / 1.378 GB, free: 7.973 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/1.065, allocations: 0 / 1.378 GB, free: 7.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02204/1.087, allocations: 8.872 MB / 1.387 GB, free: 15.07 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.087, allocations: 11.94 kB / 1.387 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.087, allocations: 12 kB / 1.387 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01787/1.105, allocations: 4.974 MB / 1.392 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/1.106, allocations: 191.7 kB / 1.392 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0646/1.17, allocations: 38.94 MB / 1.43 GB, free: 2.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.173, allocations: 103.9 kB / 1.43 GB, free: 2.258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/1.173, allocations: 68.62 kB / 1.43 GB, free: 2.191 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001519/1.174, allocations: 0.8102 MB / 1.431 GB, free: 1.371 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/1.175, allocations: 147.1 kB / 1.431 GB, free: 1.227 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/1.196, allocations: 8.738 MB / 1.44 GB, free: 8.445 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.196, allocations: 16 kB / 1.44 GB, free: 8.43 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/1.196, allocations: 32 kB / 1.44 GB, free: 8.398 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/1.196, allocations: 7.969 kB / 1.44 GB, free: 8.391 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.226, allocations: 13.26 MB / 1.453 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.226, allocations: 4 kB / 1.453 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/1.227, allocations: 119.8 kB / 1.453 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0184/1.245, allocations: 4.829 MB / 1.458 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/1.245, allocations: 32 kB / 1.458 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06237/1.308, allocations: 36.85 MB / 1.494 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.308, allocations: 4 kB / 1.494 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/1.33, allocations: 8.464 MB / 1.502 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/1.332, allocations: 0.6444 MB / 1.503 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.332, allocations: 39.88 kB / 1.503 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.334, allocations: 87.89 kB / 1.503 GB, free: 7.203 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/1.335, allocations: 173.6 kB / 1.503 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.335, allocations: 51.98 kB / 1.503 GB, free: 6.984 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001313/1.336, allocations: 0.7304 MB / 1.504 GB, free: 6.242 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/1.336, allocations: 0 / 1.504 GB, free: 6.242 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003616/1.34, allocations: 1.012 MB / 1.505 GB, free: 5.23 MB / 1.201 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004216/1.341, allocations: 147.1 kB / 1.505 GB, free: 5.078 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.352, allocations: 5.728 MB / 1.51 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.352, allocations: 4.188 kB / 1.51 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.009043/1.361, allocations: 3.783 MB / 1.514 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.363, allocations: 241.8 kB / 1.514 GB, free: 11.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009717/1.373, allocations: 5.194 MB / 1.519 GB, free: 5.984 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/1.375, allocations: 1.859 MB / 1.521 GB, free: 4.09 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009508/1.376, allocations: 359.4 kB / 1.521 GB, free: 3.734 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/1.376, allocations: 59.44 kB / 1.522 GB, free: 3.676 MB / 1.217 GB Notification: Performance of SimCode: time 7.32e-07/1.376, allocations: 3.938 kB / 1.522 GB, free: 3.672 MB / 1.217 GB Notification: Performance of Templates: time 0.0949/1.471, allocations: 62.74 MB / 1.583 GB, free: 5.035 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.13976990710944]