Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.00139/0.00139, 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.001528/0.001528, allocations: 209.3 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.002912/0.002912, allocations: 71.89 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3806, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01316/0.3938, allocations: 9.641 MB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00591/0.3997, allocations: 3.158 MB / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.4002, allocations: 43.69 kB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4019, allocations: 0.6037 MB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.4036, allocations: 0.774 MB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.4052, allocations: 0.7539 MB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.4084, allocations: 2.992 MB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.4105, allocations: 1.416 MB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.4123, allocations: 1.297 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.4149, allocations: 1.702 MB / 1.349 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.4153, allocations: 236 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4165, allocations: 483.4 kB / 1.35 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.4177, allocations: 1.099 MB / 1.351 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.4188, allocations: 0.9143 MB / 1.352 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.4229, allocations: 3.711 MB / 1.355 GB, free: 4.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4229, allocations: 0 / 1.355 GB, free: 4.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4229, allocations: 3.938 kB / 1.355 GB, free: 4.039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.572e-05/0.4229, allocations: 3.938 kB / 1.355 GB, free: 4.035 MB / 1.045 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.004186/0.4271, allocations: 2.119 MB / 1.357 GB, free: 1.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4272, allocations: 12.03 kB / 1.357 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008888/0.436, allocations: 1.326 MB / 1.359 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.4393, allocations: 1.258 MB / 1.36 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/0.4394, allocations: 119.3 kB / 1.36 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.4397, allocations: 144.3 kB / 1.36 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005617/0.4453, allocations: 3.524 MB / 1.364 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.4454, allocations: 7.938 kB / 1.364 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.4456, allocations: 59.97 kB / 1.364 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002693/0.4459, allocations: 207.1 kB / 1.364 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/0.4509, allocations: 3.12 MB / 1.367 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.4679, allocations: 9.837 MB / 1.376 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.4705, allocations: 1.617 MB / 1.378 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.4726, allocations: 1.323 MB / 1.379 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/0.4726, allocations: 13 kB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.4727, allocations: 47.5 kB / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.4727, allocations: 0 / 1.379 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1436/0.6163, allocations: 36.18 MB / 1.415 GB, free: 6.684 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.6164, allocations: 77.41 kB / 1.415 GB, free: 6.594 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.618, allocations: 1.044 MB / 1.416 GB, free: 5.543 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002734/0.6182, allocations: 53.7 kB / 1.416 GB, free: 5.484 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.6189, allocations: 0.8131 MB / 1.417 GB, free: 4.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007175/0.6196, allocations: 0.6546 MB / 1.417 GB, free: 4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008635/0.6205, allocations: 367.5 kB / 1.418 GB, free: 3.633 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6206, allocations: 301.1 kB / 1.418 GB, free: 3.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.6235, allocations: 1.928 MB / 1.42 GB, free: 1.406 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.6268, allocations: 2.289 MB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/0.6331, allocations: 4.39 MB / 1.426 GB, free: 10.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.6331, allocations: 8 kB / 1.426 GB, free: 10.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02134/0.6545, allocations: 8.86 MB / 1.435 GB, free: 1.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.6545, allocations: 15.94 kB / 1.435 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.6545, allocations: 8 kB / 1.435 GB, free: 1.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/0.6728, allocations: 4.98 MB / 1.44 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/0.6737, allocations: 187.7 kB / 1.44 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06229/0.736, allocations: 37.81 MB / 1.477 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.738, allocations: 99.89 kB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.7382, allocations: 68 kB / 1.477 GB, free: 5.988 MB / 1.17 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.001604/0.7398, allocations: 0.8057 MB / 1.478 GB, free: 5.172 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/0.7401, allocations: 151 kB / 1.478 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/0.7612, allocations: 8.722 MB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.7612, allocations: 27.94 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/0.7612, allocations: 28 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.7613, allocations: 11.95 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02833/0.7896, allocations: 12.4 MB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.7896, allocations: 7.984 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.7902, allocations: 119.8 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01814/0.8083, allocations: 4.825 MB / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/0.8086, allocations: 39.94 kB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06272/0.8713, allocations: 35.77 MB / 1.539 GB, free: 6.484 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.8714, allocations: 7.938 kB / 1.539 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/0.893, allocations: 8.452 MB / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/0.895, allocations: 0.573 MB / 1.547 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.8954, allocations: 39.94 kB / 1.547 GB, free: 13.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8966, allocations: 95.88 kB / 1.547 GB, free: 13.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000908/0.8975, allocations: 169.5 kB / 1.548 GB, free: 13.06 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.8977, allocations: 52 kB / 1.548 GB, free: 13.01 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001221/0.8989, allocations: 0.7141 MB / 1.548 GB, free: 12.28 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8989, allocations: 0 / 1.548 GB, free: 12.28 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003515/0.9024, allocations: 1.004 MB / 1.549 GB, free: 11.28 MB / 1.248 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.0003592/0.9028, allocations: 143 kB / 1.55 GB, free: 11.13 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.914, allocations: 5.74 MB / 1.555 GB, free: 5.332 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.914, allocations: 0 / 1.555 GB, free: 5.332 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.008709/0.9227, allocations: 3.776 MB / 1.559 GB, free: 1.508 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.9243, allocations: 236.8 kB / 1.559 GB, free: 1.281 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/0.934, allocations: 5.192 MB / 1.564 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.9359, allocations: 1.267 MB / 1.565 GB, free: 10.73 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00091/0.9368, allocations: 355.1 kB / 1.566 GB, free: 10.38 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.937, allocations: 67.41 kB / 1.566 GB, free: 10.31 MB / 1.264 GB Notification: Performance of SimCode: time 1.272e-06/0.9371, allocations: 0 / 1.566 GB, free: 10.31 MB / 1.264 GB Notification: Performance of Templates: time 0.8587/1.796, allocations: 66.83 MB / 1.631 GB, free: 259.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.279892371007008]