Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.002078/0.002078, allocations: 79.86 kB / 19.18 MB, free: 2.531 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.0024/0.0024, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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 2.889/2.889, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.885e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02821/0.02824, allocations: 21.83 MB / 1.021 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.04074, allocations: 6.39 MB / 1.028 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.04272, allocations: 131 kB / 1.028 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.04734, allocations: 1.513 MB / 1.029 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.05229, allocations: 1.986 MB / 1.031 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.05645, allocations: 1.474 MB / 1.033 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009018/0.06547, allocations: 7.028 MB / 1.04 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007408/0.07288, allocations: 3.731 MB / 1.043 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00755/0.08043, allocations: 4.019 MB / 1.047 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006038/0.08646, allocations: 3.394 MB / 1.05 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.08803, allocations: 0.5273 MB / 1.051 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.09145, allocations: 1.131 MB / 1.052 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004439/0.09589, allocations: 2.666 MB / 1.055 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00425/0.1001, allocations: 1.754 MB / 1.056 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.1134, allocations: 8.687 MB / 1.065 GB, free: 4.715 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1134, allocations: 0 / 1.065 GB, free: 4.715 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1134, allocations: 4 kB / 1.065 GB, free: 4.711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002711/0.1137, allocations: 0 / 1.065 GB, free: 4.711 MB / 1.014 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.01219/0.1259, allocations: 4.425 MB / 1.069 GB, free: 240 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1259, allocations: 8.031 kB / 1.069 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00948/0.1354, allocations: 1.711 MB / 1.071 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006232/0.1416, allocations: 2.675 MB / 1.073 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.1419, allocations: 275.7 kB / 1.074 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.143, allocations: 364.3 kB / 1.074 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.1566, allocations: 7.717 MB / 1.082 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-05/0.1567, allocations: 20.02 kB / 1.082 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.1571, allocations: 156.3 kB / 1.082 GB, free: 2.949 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006557/0.1578, allocations: 491.3 kB / 1.082 GB, free: 2.469 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.1681, allocations: 5.697 MB / 1.088 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/0.1985, allocations: 19.92 MB / 1.107 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.2016, allocations: 2.016 MB / 1.109 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.2048, allocations: 2.108 MB / 1.111 GB, free: 4.242 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.2049, allocations: 17.31 kB / 1.111 GB, free: 4.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.2049, allocations: 43.88 kB / 1.111 GB, free: 4.172 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 4.288e-06/0.2049, allocations: 0 / 1.111 GB, free: 4.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=251): time 0.8068/1.012, allocations: 76.71 MB / 1.186 GB, free: 153.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/1.012, allocations: 82.03 kB / 1.186 GB, free: 153.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/1.014, allocations: 1.61 MB / 1.188 GB, free: 153 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005015/1.015, allocations: 65.58 kB / 1.188 GB, free: 153 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009936/1.016, allocations: 1.801 MB / 1.19 GB, free: 151.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/1.017, allocations: 0.88 MB / 1.191 GB, free: 150.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/1.018, allocations: 484.6 kB / 1.191 GB, free: 150.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/1.018, allocations: 301.1 kB / 1.191 GB, free: 150.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003647/1.022, allocations: 2.73 MB / 1.194 GB, free: 148.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/1.026, allocations: 3.33 MB / 1.197 GB, free: 146.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007296/1.033, allocations: 6.393 MB / 1.204 GB, free: 142.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/1.033, allocations: 14.72 kB / 1.204 GB, free: 142.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03085/1.064, allocations: 14.4 MB / 1.218 GB, free: 128.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.064, allocations: 12 kB / 1.218 GB, free: 128.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.064, allocations: 16 kB / 1.218 GB, free: 128.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0292/1.093, allocations: 9.182 MB / 1.227 GB, free: 119.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.094, allocations: 307.4 kB / 1.227 GB, free: 119.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06728/1.162, allocations: 50.84 MB / 1.277 GB, free: 67.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/1.165, allocations: 223.7 kB / 1.277 GB, free: 67.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/1.165, allocations: 101.6 kB / 1.277 GB, free: 67.41 MB / 1.076 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.002455/1.168, allocations: 1.583 MB / 1.278 GB, free: 65.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006506/1.168, allocations: 250.6 kB / 1.279 GB, free: 65.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0301/1.198, allocations: 14.47 MB / 1.293 GB, free: 51.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.198, allocations: 24 kB / 1.293 GB, free: 51.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001096/1.198, allocations: 44 kB / 1.293 GB, free: 50.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.114e-05/1.198, allocations: 15.95 kB / 1.293 GB, free: 50.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/1.237, allocations: 18.93 MB / 1.311 GB, free: 31.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.237, allocations: 8 kB / 1.311 GB, free: 31.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/1.238, allocations: 163.8 kB / 1.311 GB, free: 31.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02874/1.266, allocations: 8.968 MB / 1.32 GB, free: 22.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/1.267, allocations: 53.02 kB / 1.32 GB, free: 22.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0791/1.346, allocations: 50.41 MB / 1.37 GB, free: 3.699 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/1.346, allocations: 11.94 kB / 1.37 GB, free: 3.688 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03647/1.382, allocations: 14.08 MB / 1.383 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/1.385, allocations: 0.7715 MB / 1.384 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008602/1.386, allocations: 48 kB / 1.384 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.388, allocations: 214.3 kB / 1.384 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/1.39, allocations: 249.3 kB / 1.385 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/1.39, allocations: 71.94 kB / 1.385 GB, free: 4.137 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001834/1.392, allocations: 1.06 MB / 1.386 GB, free: 3.086 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/1.392, allocations: 0 / 1.386 GB, free: 3.086 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005812/1.398, allocations: 1.617 MB / 1.387 GB, free: 1.469 MB / 1.123 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.0005675/1.399, allocations: 156.7 kB / 1.387 GB, free: 1.309 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02586/1.424, allocations: 10.19 MB / 1.397 GB, free: 7.062 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.424, allocations: 4.875 kB / 1.397 GB, free: 7.059 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.02116/1.446, allocations: 6.969 MB / 1.404 GB, free: 32 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/1.453, allocations: 0.5419 MB / 1.405 GB, free: 15.54 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.473, allocations: 8.898 MB / 1.413 GB, free: 6.559 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004856/1.477, allocations: 2.681 MB / 1.416 GB, free: 3.836 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001243/1.479, allocations: 378.8 kB / 1.416 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/1.479, allocations: 96.48 kB / 1.416 GB, free: 3.367 MB / 1.154 GB Notification: Performance of SimCode: time 1.132e-06/1.479, allocations: 4 kB / 1.416 GB, free: 3.363 MB / 1.154 GB Notification: Performance of Templates: time 0.155/1.634, allocations: 97.25 MB / 1.511 GB, free: 2.543 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.358395893126726]