Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001885/0.001885, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001654/0.001654, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.374/3.374, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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_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_latest_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_latest_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.002144/0.002144, allocations: 71.53 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3924, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01613/0.4085, allocations: 9.65 MB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006933/0.4154, allocations: 3.147 MB / 1.377 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.4165, allocations: 47.69 kB / 1.377 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.4186, allocations: 0.6025 MB / 1.378 GB, free: 76 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.421, allocations: 0.7779 MB / 1.379 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.423, allocations: 0.743 MB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004075/0.4271, allocations: 2.996 MB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.4292, allocations: 1.423 MB / 1.384 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.4312, allocations: 1.285 MB / 1.385 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.4335, allocations: 1.632 MB / 1.386 GB, free: 7.148 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.4339, allocations: 236 kB / 1.387 GB, free: 6.918 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4349, allocations: 479.3 kB / 1.387 GB, free: 6.449 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.436, allocations: 1.107 MB / 1.388 GB, free: 5.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4371, allocations: 0.9104 MB / 1.389 GB, free: 4.426 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.441, allocations: 3.715 MB / 1.393 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.441, allocations: 0 / 1.393 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.79e-06/0.4411, allocations: 3.984 kB / 1.393 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.403e-05/0.4411, allocations: 0 / 1.393 GB, free: 0.6953 MB / 1.076 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.004218/0.4453, allocations: 2.117 MB / 1.395 GB, free: 14.54 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4454, allocations: 12.03 kB / 1.395 GB, free: 14.53 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008749/0.4541, allocations: 1.322 MB / 1.396 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.4574, allocations: 1.265 MB / 1.397 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4575, allocations: 115.4 kB / 1.397 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.4578, allocations: 148.3 kB / 1.398 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.4635, allocations: 3.514 MB / 1.401 GB, free: 8.023 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.4635, allocations: 11.94 kB / 1.401 GB, free: 8.012 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.4637, allocations: 67.95 kB / 1.401 GB, free: 7.945 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/0.464, allocations: 203.1 kB / 1.401 GB, free: 7.746 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.4691, allocations: 3.116 MB / 1.404 GB, free: 4.625 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.486, allocations: 9.837 MB / 1.414 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.4885, allocations: 1.607 MB / 1.415 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.4906, allocations: 1.331 MB / 1.417 GB, free: 7.652 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-05/0.4907, allocations: 13 kB / 1.417 GB, free: 7.641 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4907, allocations: 47.55 kB / 1.417 GB, free: 7.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=104): time 3.367e-06/0.4907, allocations: 3.938 kB / 1.417 GB, free: 7.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=183): time 0.1549/0.6456, allocations: 36.19 MB / 1.452 GB, free: 3.355 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.6457, allocations: 73.41 kB / 1.452 GB, free: 3.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.6473, allocations: 1.044 MB / 1.453 GB, free: 2.219 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.6477, allocations: 57.7 kB / 1.453 GB, free: 2.156 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.6484, allocations: 0.8054 MB / 1.454 GB, free: 1.34 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007334/0.6491, allocations: 0.6468 MB / 1.455 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007743/0.6499, allocations: 367.5 kB / 1.455 GB, free: 328 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.65, allocations: 305.1 kB / 1.455 GB, free: 20 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.653, allocations: 1.928 MB / 1.457 GB, free: 14.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.6563, allocations: 2.293 MB / 1.459 GB, free: 11.68 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00649/0.6628, allocations: 4.386 MB / 1.464 GB, free: 7.172 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.6628, allocations: 4 kB / 1.464 GB, free: 7.168 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02163/0.6844, allocations: 8.874 MB / 1.472 GB, free: 14.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.6845, allocations: 8 kB / 1.472 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.6845, allocations: 8 kB / 1.472 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/0.7025, allocations: 4.966 MB / 1.477 GB, free: 9.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009669/0.7034, allocations: 191.7 kB / 1.477 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06333/0.7668, allocations: 37.81 MB / 1.514 GB, free: 2.836 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.7691, allocations: 107.8 kB / 1.515 GB, free: 2.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.7693, allocations: 64 kB / 1.515 GB, free: 2.668 MB / 1.201 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.001646/0.7709, allocations: 0.8095 MB / 1.515 GB, free: 1.848 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.7713, allocations: 147.1 kB / 1.516 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02157/0.7929, allocations: 8.734 MB / 1.524 GB, free: 8.926 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/0.7929, allocations: 19.94 kB / 1.524 GB, free: 8.906 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-05/0.793, allocations: 28 kB / 1.524 GB, free: 8.879 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.468e-05/0.793, allocations: 15.91 kB / 1.524 GB, free: 8.863 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/0.8219, allocations: 12.39 MB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.8219, allocations: 4 kB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.8224, allocations: 123.8 kB / 1.536 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01732/0.8398, allocations: 4.831 MB / 1.541 GB, free: 7.395 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.84, allocations: 28 kB / 1.541 GB, free: 7.367 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05899/0.899, allocations: 35.77 MB / 1.576 GB, free: 3.164 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.899, allocations: 7.984 kB / 1.576 GB, free: 3.156 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.9196, allocations: 8.448 MB / 1.584 GB, free: 10.62 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/0.9216, allocations: 0.5692 MB / 1.585 GB, free: 10.05 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/0.922, allocations: 47.92 kB / 1.585 GB, free: 10 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.9233, allocations: 91.89 kB / 1.585 GB, free: 9.91 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008251/0.9241, allocations: 169.5 kB / 1.585 GB, free: 9.742 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/0.9243, allocations: 44 kB / 1.585 GB, free: 9.699 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001046/0.9253, allocations: 0.7219 MB / 1.586 GB, free: 8.965 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.9253, allocations: 0 / 1.586 GB, free: 8.965 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00317/0.9285, allocations: 1.004 MB / 1.587 GB, free: 7.961 MB / 1.279 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.000316/0.9288, allocations: 143.1 kB / 1.587 GB, free: 7.812 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.9393, allocations: 5.748 MB / 1.593 GB, free: 2.016 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.9393, allocations: 0 / 1.593 GB, free: 2.016 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00855/0.9478, allocations: 3.802 MB / 1.596 GB, free: 14.16 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.9494, allocations: 236.7 kB / 1.597 GB, free: 13.93 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/0.9587, allocations: 5.468 MB / 1.602 GB, free: 8.398 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.9605, allocations: 1.302 MB / 1.603 GB, free: 7.059 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.9608, allocations: 67.44 kB / 1.603 GB, free: 6.992 MB / 1.295 GB Notification: Performance of SimCode: time 1.312e-06/0.9608, allocations: 4 kB / 1.603 GB, free: 6.988 MB / 1.295 GB Notification: Performance of Templates: time 0.8356/1.796, allocations: 70.1 MB / 1.672 GB, free: 200.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.032027705106884]