Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001822/0.001822, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001998/0.001998, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.571/1.571, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 75.83 kB / 1.059 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3398, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03148/0.3713, allocations: 24.45 MB / 1.24 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3849, allocations: 6.648 MB / 1.247 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.3879, allocations: 99.55 kB / 1.247 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005093/0.393, allocations: 1.551 MB / 1.248 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.399, allocations: 1.937 MB / 1.25 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.404, allocations: 1.508 MB / 1.251 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.415, allocations: 6.904 MB / 1.258 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008509/0.4235, allocations: 3.493 MB / 1.262 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7828/1.206, allocations: 2.882 MB / 1.264 GB, free: 19.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006616/1.213, allocations: 3.731 MB / 1.268 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002628/1.216, allocations: 0.5259 MB / 1.269 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/1.221, allocations: 1.201 MB / 1.27 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006039/1.227, allocations: 2.528 MB / 1.272 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009191/1.236, allocations: 2.536 MB / 1.275 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0169/1.253, allocations: 8.536 MB / 1.283 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/1.253, allocations: 1.656 kB / 1.283 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.253, allocations: 0 / 1.283 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004634/1.253, allocations: 0.8125 kB / 1.283 GB, free: 17.43 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0154/1.269, allocations: 4.55 MB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.269, allocations: 9.5 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009269/1.278, allocations: 1.7 MB / 1.289 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/1.286, allocations: 2.708 MB / 1.292 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/1.286, allocations: 273.6 kB / 1.292 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/1.289, allocations: 367.5 kB / 1.292 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.307, allocations: 7.487 MB / 1.3 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/1.307, allocations: 17.94 kB / 1.3 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005307/1.308, allocations: 159.2 kB / 1.3 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006463/1.308, allocations: 485.7 kB / 1.3 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/1.321, allocations: 5.703 MB / 1.306 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04128/1.362, allocations: 31.53 MB / 1.337 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/1.366, allocations: 2.035 MB / 1.339 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.37, allocations: 2.112 MB / 1.341 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.37, allocations: 14.31 kB / 1.341 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.37, allocations: 49.31 kB / 1.341 GB, free: 14.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.888e-06/1.37, allocations: 1.25 kB / 1.341 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=251): time 0.3475/1.717, allocations: 76.79 MB / 1.416 GB, free: 15.03 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/1.717, allocations: 80.03 kB / 1.416 GB, free: 14.94 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/1.721, allocations: 1.67 MB / 1.418 GB, free: 13.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0008935/1.722, allocations: 61.7 kB / 1.418 GB, free: 13.16 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/1.724, allocations: 1.798 MB / 1.419 GB, free: 11.35 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.726, allocations: 0.8996 MB / 1.42 GB, free: 10.46 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/1.729, allocations: 481.4 kB / 1.421 GB, free: 9.988 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.729, allocations: 305.1 kB / 1.421 GB, free: 9.688 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005834/1.735, allocations: 2.734 MB / 1.424 GB, free: 6.949 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/1.741, allocations: 3.336 MB / 1.427 GB, free: 3.379 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.752, allocations: 6.392 MB / 1.433 GB, free: 12.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/1.752, allocations: 4 kB / 1.433 GB, free: 12.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03712/1.789, allocations: 14.41 MB / 1.447 GB, free: 14.66 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.789, allocations: 15.28 kB / 1.447 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/1.789, allocations: 16 kB / 1.447 GB, free: 14.63 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03189/1.821, allocations: 9.241 MB / 1.456 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/1.823, allocations: 297.3 kB / 1.457 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09574/1.918, allocations: 52.41 MB / 1.508 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/1.922, allocations: 223.6 kB / 1.508 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.923, allocations: 100 kB / 1.508 GB, free: 15.61 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005496/1.929, allocations: 1.579 MB / 1.51 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.93, allocations: 262.5 kB / 1.51 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03638/1.967, allocations: 14.47 MB / 1.524 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.967, allocations: 24 kB / 1.524 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002235/1.967, allocations: 47.98 kB / 1.524 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-05/1.967, allocations: 11.95 kB / 1.524 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05473/2.022, allocations: 20.24 MB / 1.544 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-05/2.022, allocations: 4 kB / 1.544 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/2.023, allocations: 159.8 kB / 1.544 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03156/2.054, allocations: 9.012 MB / 1.553 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009807/2.055, allocations: 48 kB / 1.553 GB, free: 1.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09413/2.149, allocations: 51.96 MB / 1.604 GB, free: 13.09 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.467e-05/2.149, allocations: 11.94 kB / 1.604 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03728/2.187, allocations: 14.1 MB / 1.617 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003259/2.19, allocations: 0.8546 MB / 1.618 GB, free: 13.96 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.191, allocations: 47.98 kB / 1.618 GB, free: 13.91 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/2.194, allocations: 207.7 kB / 1.618 GB, free: 13.71 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001886/2.196, allocations: 245.5 kB / 1.619 GB, free: 13.46 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004967/2.197, allocations: 64 kB / 1.619 GB, free: 13.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002413/2.199, allocations: 1.125 MB / 1.62 GB, free: 12.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.199, allocations: 0 / 1.62 GB, free: 12.25 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007473/2.207, allocations: 1.613 MB / 1.621 GB, free: 10.64 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006875/2.207, allocations: 167 kB / 1.622 GB, free: 10.46 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0241/2.232, allocations: 10.21 MB / 1.632 GB, free: 236 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.232, allocations: 0 / 1.632 GB, free: 236 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/2.251, allocations: 7.013 MB / 1.638 GB, free: 9.156 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/2.256, allocations: 0.5536 MB / 1.639 GB, free: 8.621 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/2.278, allocations: 8.938 MB / 1.648 GB, free: 15.61 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/2.284, allocations: 3.227 MB / 1.651 GB, free: 12.35 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.00147/2.286, allocations: 391.3 kB / 1.651 GB, free: 11.96 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/2.286, allocations: 99.42 kB / 1.651 GB, free: 11.86 MB / 1.326 GB Notification: Performance of SimCode: time 2.013e-06/2.286, allocations: 0 / 1.651 GB, free: 11.86 MB / 1.326 GB Notification: Performance of Templates: time 0.1728/2.459, allocations: 95.24 MB / 1.744 GB, free: 12.95 MB / 1.42 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 12.211902767419815]