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.001582/0.001582, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001769/0.001769, allocations: 220.2 kB / 23.01 MB, free: 4.609 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.326/3.326, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.001997/0.001997, allocations: 75.64 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.386, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01336/0.3993, allocations: 10.52 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006058/0.4054, allocations: 3.287 MB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.4061, allocations: 47.69 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.4078, allocations: 0.6296 MB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.4094, allocations: 0.7739 MB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.411, allocations: 0.7629 MB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.4145, allocations: 2.988 MB / 1.373 GB, free: 4.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.4167, allocations: 1.435 MB / 1.374 GB, free: 3.391 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.4187, allocations: 1.285 MB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.4211, allocations: 1.698 MB / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.4214, allocations: 236 kB / 1.377 GB, free: 172 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.4225, allocations: 0.511 MB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.4236, allocations: 1.099 MB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.4249, allocations: 1.109 MB / 1.38 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004016/0.4289, allocations: 3.695 MB / 1.383 GB, free: 9.734 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4289, allocations: 4 kB / 1.383 GB, free: 9.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4289, allocations: 0 / 1.383 GB, free: 9.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.8e-05/0.429, allocations: 0 / 1.383 GB, free: 9.73 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.004408/0.4334, allocations: 2.125 MB / 1.386 GB, free: 7.566 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4335, allocations: 8.031 kB / 1.386 GB, free: 7.559 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008374/0.4418, allocations: 1.326 MB / 1.387 GB, free: 6.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.4447, allocations: 1.258 MB / 1.388 GB, free: 4.945 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4448, allocations: 111.4 kB / 1.388 GB, free: 4.836 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.4452, allocations: 148.3 kB / 1.388 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.4509, allocations: 3.441 MB / 1.392 GB, free: 1.152 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.451, allocations: 7.938 kB / 1.392 GB, free: 1.145 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.4512, allocations: 67.97 kB / 1.392 GB, free: 1.078 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/0.4515, allocations: 207.1 kB / 1.392 GB, free: 0.875 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/0.4567, allocations: 3.124 MB / 1.395 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/0.4764, allocations: 13.46 MB / 1.408 GB, free: 15.41 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.4791, allocations: 1.618 MB / 1.41 GB, free: 13.78 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.4811, allocations: 1.327 MB / 1.411 GB, free: 12.45 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.4812, allocations: 13 kB / 1.411 GB, free: 12.44 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4813, allocations: 43.55 kB / 1.411 GB, free: 12.39 MB / 1.108 GB Notification: Performance of pre-optimization done (n=104): time 3.977e-06/0.4813, allocations: 0 / 1.411 GB, free: 12.39 MB / 1.108 GB Notification: Performance of matching and sorting (n=183): time 0.1382/0.6195, allocations: 36.2 MB / 1.446 GB, free: 8.129 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.6196, allocations: 73.41 kB / 1.446 GB, free: 8.043 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6213, allocations: 1.046 MB / 1.448 GB, free: 6.973 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.6216, allocations: 57.7 kB / 1.448 GB, free: 6.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/0.6222, allocations: 0.8092 MB / 1.448 GB, free: 6.094 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006951/0.6229, allocations: 0.6545 MB / 1.449 GB, free: 5.434 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007713/0.6237, allocations: 371.5 kB / 1.449 GB, free: 5.066 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6238, allocations: 301.1 kB / 1.45 GB, free: 4.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.6267, allocations: 1.928 MB / 1.452 GB, free: 2.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.6299, allocations: 2.285 MB / 1.454 GB, free: 436 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/0.636, allocations: 4.391 MB / 1.458 GB, free: 11.91 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.636, allocations: 4 kB / 1.458 GB, free: 11.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02018/0.6562, allocations: 8.874 MB / 1.467 GB, free: 3.008 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.6562, allocations: 11.94 kB / 1.467 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.6562, allocations: 16 kB / 1.467 GB, free: 2.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01664/0.6729, allocations: 4.976 MB / 1.472 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.6738, allocations: 191.7 kB / 1.472 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06093/0.7347, allocations: 38.54 MB / 1.509 GB, free: 6.777 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.7367, allocations: 103.9 kB / 1.51 GB, free: 6.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.7369, allocations: 68 kB / 1.51 GB, free: 6.609 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.001473/0.7384, allocations: 0.8068 MB / 1.51 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.7387, allocations: 147.1 kB / 1.511 GB, free: 5.648 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/0.759, allocations: 8.734 MB / 1.519 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.759, allocations: 23.98 kB / 1.519 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.7591, allocations: 32 kB / 1.519 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/0.7591, allocations: 7.969 kB / 1.519 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/0.7864, allocations: 13.23 MB / 1.532 GB, free: 15.43 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.7865, allocations: 4 kB / 1.532 GB, free: 15.43 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.787, allocations: 123.8 kB / 1.532 GB, free: 15.31 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/0.8031, allocations: 4.848 MB / 1.537 GB, free: 10.45 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/0.8034, allocations: 36 kB / 1.537 GB, free: 10.41 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05811/0.8615, allocations: 36.45 MB / 1.573 GB, free: 5.48 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.8615, allocations: 11.94 kB / 1.573 GB, free: 5.469 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01975/0.8813, allocations: 8.456 MB / 1.581 GB, free: 12.92 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/0.8831, allocations: 0.573 MB / 1.581 GB, free: 12.35 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.8834, allocations: 43.92 kB / 1.581 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.8847, allocations: 91.89 kB / 1.581 GB, free: 12.21 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008035/0.8855, allocations: 169.5 kB / 1.582 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.8856, allocations: 44 kB / 1.582 GB, free: 12.01 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001099/0.8867, allocations: 0.746 MB / 1.582 GB, free: 11.25 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.8867, allocations: 0 / 1.582 GB, free: 11.25 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003393/0.8901, allocations: 1.004 MB / 1.583 GB, free: 10.25 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.0003531/0.8905, allocations: 147.7 kB / 1.584 GB, free: 10.09 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.9009, allocations: 5.736 MB / 1.589 GB, free: 4.297 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.901, allocations: 7.938 kB / 1.589 GB, free: 4.289 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.008301/0.9093, allocations: 3.788 MB / 1.593 GB, free: 460 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.9109, allocations: 238.2 kB / 1.593 GB, free: 228 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009636/0.9205, allocations: 5.477 MB / 1.598 GB, free: 10.68 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.9226, allocations: 1.894 MB / 1.6 GB, free: 8.75 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.9229, allocations: 63.44 kB / 1.6 GB, free: 8.688 MB / 1.295 GB Notification: Performance of SimCode: time 1.333e-06/0.9229, allocations: 0 / 1.6 GB, free: 8.688 MB / 1.295 GB Notification: Performance of Templates: time 0.8246/1.748, allocations: 69.5 MB / 1.668 GB, free: 213.2 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: 16.630971722013783]