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.001769/0.001769, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002438/0.002438, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.146/3.146, allocations: 0.49 GB / 0.7958 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.002808/0.002808, allocations: 66.36 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3695, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0141/0.3836, allocations: 10.52 MB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006531/0.3901, allocations: 3.295 MB / 1.341 GB, free: 3.594 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3912, allocations: 43.69 kB / 1.341 GB, free: 3.551 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.3932, allocations: 0.6218 MB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.3952, allocations: 0.774 MB / 1.342 GB, free: 2.148 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.3972, allocations: 0.7563 MB / 1.343 GB, free: 1.391 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004037/0.4012, allocations: 2.996 MB / 1.346 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.4036, allocations: 1.419 MB / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.406, allocations: 1.301 MB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/0.4091, allocations: 1.698 MB / 1.35 GB, free: 9.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006684/0.4098, allocations: 236 kB / 1.35 GB, free: 9.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4111, allocations: 0.5071 MB / 1.351 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.4126, allocations: 1.099 MB / 1.352 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4144, allocations: 1.109 MB / 1.353 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005145/0.4196, allocations: 3.703 MB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.4196, allocations: 0 / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4196, allocations: 0 / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001208/0.4197, allocations: 0 / 1.356 GB, free: 3.242 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.00629/0.426, allocations: 2.12 MB / 1.359 GB, free: 1.082 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4261, allocations: 12.03 kB / 1.359 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008837/0.4349, allocations: 1.33 MB / 1.36 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.4383, allocations: 1.262 MB / 1.361 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.4384, allocations: 111.4 kB / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/0.439, allocations: 144.3 kB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006491/0.4455, allocations: 3.445 MB / 1.365 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.4455, allocations: 7.938 kB / 1.365 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.4457, allocations: 63.97 kB / 1.365 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002975/0.446, allocations: 203.1 kB / 1.365 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/0.4518, allocations: 3.128 MB / 1.368 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.473, allocations: 13.46 MB / 1.381 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.4757, allocations: 1.615 MB / 1.383 GB, free: 7.301 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.4779, allocations: 1.331 MB / 1.384 GB, free: 5.961 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.478, allocations: 16.94 kB / 1.384 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.478, allocations: 43.56 kB / 1.384 GB, free: 5.895 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.478, allocations: 0 / 1.384 GB, free: 5.895 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1472/0.6252, allocations: 36.2 MB / 1.419 GB, free: 1.652 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.6253, allocations: 69.41 kB / 1.42 GB, free: 1.57 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.6271, allocations: 1.05 MB / 1.421 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003995/0.6275, allocations: 57.7 kB / 1.421 GB, free: 444 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007445/0.6283, allocations: 0.8056 MB / 1.421 GB, free: 15.61 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.629, allocations: 0.6584 MB / 1.422 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007775/0.6298, allocations: 363.5 kB / 1.422 GB, free: 14.59 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.63, allocations: 301.1 kB / 1.423 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/0.633, allocations: 1.932 MB / 1.425 GB, free: 12.36 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.6363, allocations: 2.285 MB / 1.427 GB, free: 9.945 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/0.6429, allocations: 4.399 MB / 1.431 GB, free: 5.426 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6429, allocations: 4 kB / 1.431 GB, free: 5.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02151/0.6644, allocations: 8.869 MB / 1.44 GB, free: 12.53 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.6644, allocations: 8 kB / 1.44 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6645, allocations: 11.94 kB / 1.44 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/0.682, allocations: 4.985 MB / 1.445 GB, free: 7.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/0.683, allocations: 191.7 kB / 1.445 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06474/0.7477, allocations: 38.54 MB / 1.482 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.7497, allocations: 103.8 kB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.75, allocations: 72 kB / 1.483 GB, free: 140 kB / 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.001575/0.7515, allocations: 0.8095 MB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.7519, allocations: 147.1 kB / 1.484 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/0.7733, allocations: 8.73 MB / 1.492 GB, free: 6.406 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.7734, allocations: 23.88 kB / 1.492 GB, free: 6.383 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-05/0.7735, allocations: 32 kB / 1.492 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-05/0.7735, allocations: 7.969 kB / 1.492 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02974/0.8032, allocations: 13.23 MB / 1.505 GB, free: 8.961 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.8033, allocations: 8.062 kB / 1.505 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.8039, allocations: 119.8 kB / 1.505 GB, free: 8.836 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/0.8212, allocations: 4.841 MB / 1.51 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/0.8216, allocations: 35.94 kB / 1.51 GB, free: 3.945 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06122/0.8828, allocations: 36.45 MB / 1.546 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.8828, allocations: 7.938 kB / 1.546 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/0.9038, allocations: 8.452 MB / 1.554 GB, free: 6.453 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/0.9059, allocations: 0.5847 MB / 1.554 GB, free: 5.867 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/0.9063, allocations: 36 kB / 1.554 GB, free: 5.832 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9076, allocations: 91.89 kB / 1.554 GB, free: 5.742 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008359/0.9084, allocations: 169.5 kB / 1.555 GB, free: 5.578 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.9086, allocations: 52 kB / 1.555 GB, free: 5.527 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001213/0.9098, allocations: 0.7421 MB / 1.555 GB, free: 4.773 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.9098, allocations: 0 / 1.555 GB, free: 4.773 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003746/0.9135, allocations: 1.004 MB / 1.556 GB, free: 3.77 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.0003743/0.9139, allocations: 144.9 kB / 1.557 GB, free: 3.621 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.9249, allocations: 5.747 MB / 1.562 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.9249, allocations: 0 / 1.562 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008808/0.9337, allocations: 3.797 MB / 1.566 GB, free: 9.977 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.9356, allocations: 236.6 kB / 1.566 GB, free: 9.746 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.9458, allocations: 5.47 MB / 1.571 GB, free: 4.207 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.948, allocations: 1.89 MB / 1.573 GB, free: 2.281 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.9484, allocations: 67.42 kB / 1.573 GB, free: 2.215 MB / 1.264 GB Notification: Performance of SimCode: time 2.144e-06/0.9484, allocations: 3.938 kB / 1.573 GB, free: 2.211 MB / 1.264 GB Notification: Performance of Templates: time 0.8066/1.755, allocations: 69.48 MB / 1.641 GB, free: 253.5 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 -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: 16.91052916299668]