Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001911/0.001911, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.002427/0.002427, allocations: 158.6 kB / 23.01 MB, free: 4.941 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.562/1.562, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.002344/0.002344, allocations: 63.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4411, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.8744/1.315, allocations: 19.51 MB / 1.137 GB, free: 47.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01032/1.326, allocations: 6.47 MB / 1.143 GB, free: 47.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/1.328, allocations: 115.6 kB / 1.143 GB, free: 47.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005155/1.333, allocations: 2.253 MB / 1.145 GB, free: 46.47 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/1.336, allocations: 1.24 MB / 1.146 GB, free: 45.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/1.339, allocations: 1.286 MB / 1.148 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005494/1.345, allocations: 4.853 MB / 1.152 GB, free: 43.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004193/1.349, allocations: 3.146 MB / 1.155 GB, free: 41.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/1.353, allocations: 2.163 MB / 1.158 GB, free: 40.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004521/1.357, allocations: 2.332 MB / 1.16 GB, free: 40.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007895/1.358, allocations: 430.9 kB / 1.16 GB, free: 40.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/1.36, allocations: 0.9447 MB / 1.161 GB, free: 39.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00165/1.362, allocations: 1.709 MB / 1.163 GB, free: 39.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003526/1.366, allocations: 1.551 MB / 1.164 GB, free: 38.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008344/1.374, allocations: 6.572 MB / 1.171 GB, free: 36.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.374, allocations: 0.5625 kB / 1.171 GB, free: 36.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.793e-06/1.374, allocations: 0 / 1.171 GB, free: 36.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002394/1.374, allocations: 0.7188 kB / 1.171 GB, free: 36.3 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01188/1.386, allocations: 3.462 MB / 1.174 GB, free: 34.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.386, allocations: 10.53 kB / 1.174 GB, free: 34.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004118/1.39, allocations: 0.6629 MB / 1.175 GB, free: 34.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/1.395, allocations: 1.991 MB / 1.177 GB, free: 33.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/1.396, allocations: 221.5 kB / 1.177 GB, free: 33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007489/1.396, allocations: 298.5 kB / 1.177 GB, free: 32.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.409, allocations: 5.24 MB / 1.182 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/1.409, allocations: 18.03 kB / 1.182 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/1.41, allocations: 130.9 kB / 1.182 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006226/1.411, allocations: 231 kB / 1.183 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009193/1.42, allocations: 3.739 MB / 1.186 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/1.445, allocations: 13.1 MB / 1.199 GB, free: 20.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.447, allocations: 1.222 MB / 1.2 GB, free: 19.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/1.449, allocations: 0.9918 MB / 1.201 GB, free: 19.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-05/1.449, allocations: 11.88 kB / 1.201 GB, free: 19.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.449, allocations: 46.56 kB / 1.201 GB, free: 19.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=107): time 3.456e-06/1.449, allocations: 0 / 1.201 GB, free: 19.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=138): time 0.02713/1.476, allocations: 8.431 MB / 1.21 GB, free: 16.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/1.476, allocations: 67.31 kB / 1.21 GB, free: 16.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/1.479, allocations: 1.059 MB / 1.211 GB, free: 16.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.479, allocations: 54.05 kB / 1.211 GB, free: 16.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009883/1.48, allocations: 1.345 MB / 1.212 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/1.48, allocations: 0.4918 MB / 1.213 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005994/1.481, allocations: 294.7 kB / 1.213 GB, free: 14.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/1.481, allocations: 305.7 kB / 1.213 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/1.482, allocations: 0.9128 MB / 1.214 GB, free: 14.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.484, allocations: 1.326 MB / 1.215 GB, free: 13.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/1.488, allocations: 2.422 MB / 1.218 GB, free: 11.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/1.488, allocations: 7.375 kB / 1.218 GB, free: 11.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007132/1.495, allocations: 3.426 MB / 1.221 GB, free: 10.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.495, allocations: 9.906 kB / 1.221 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/1.495, allocations: 12.06 kB / 1.221 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003564/1.498, allocations: 1.186 MB / 1.222 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.5, allocations: 256.6 kB / 1.222 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.518, allocations: 13.25 MB / 1.235 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/1.52, allocations: 92.56 kB / 1.235 GB, free: 2.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.52, allocations: 67.38 kB / 1.236 GB, free: 2.254 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002363/1.522, allocations: 1.113 MB / 1.237 GB, free: 1.734 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/1.522, allocations: 156.8 kB / 1.237 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/1.529, allocations: 3.134 MB / 1.24 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.529, allocations: 13.25 kB / 1.24 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/1.529, allocations: 11.72 kB / 1.24 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/1.529, allocations: 8.406 kB / 1.24 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.54, allocations: 5.476 MB / 1.245 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.54, allocations: 8.625 kB / 1.245 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/1.541, allocations: 150 kB / 1.245 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.544, allocations: 1.072 MB / 1.246 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.544, allocations: 26.69 kB / 1.246 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.564, allocations: 12.95 MB / 1.259 GB, free: 4.52 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.564, allocations: 4.125 kB / 1.259 GB, free: 4.52 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/1.57, allocations: 3.117 MB / 1.262 GB, free: 2.664 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.571, allocations: 342.8 kB / 1.262 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.572, allocations: 26.97 kB / 1.262 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/1.572, allocations: 86.39 kB / 1.263 GB, free: 2.391 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004967/1.573, allocations: 127.6 kB / 1.263 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/1.573, allocations: 40.95 kB / 1.263 GB, free: 2.297 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001187/1.574, allocations: 0.7022 MB / 1.263 GB, free: 1.898 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.574, allocations: 0 / 1.263 GB, free: 1.898 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002884/1.577, allocations: 0.6574 MB / 1.264 GB, free: 1.84 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/1.577, allocations: 147.5 kB / 1.264 GB, free: 1.711 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005777/1.583, allocations: 3.016 MB / 1.267 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.583, allocations: 0 / 1.267 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003504/1.587, allocations: 1.896 MB / 1.269 GB, free: 13.19 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.589, allocations: 481.2 kB / 1.269 GB, free: 12.74 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.601, allocations: 5.526 MB / 1.275 GB, free: 7.129 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/1.603, allocations: 1.769 MB / 1.277 GB, free: 5.32 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001208/1.605, allocations: 341.3 kB / 1.277 GB, free: 4.98 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/1.605, allocations: 84.48 kB / 1.277 GB, free: 4.898 MB / 1.107 GB Notification: Performance of SimCode: time 1.272e-06/1.605, allocations: 0 / 1.277 GB, free: 4.898 MB / 1.107 GB Notification: Performance of Templates: time 0.06054/1.665, allocations: 33.12 MB / 1.309 GB, free: 4.441 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.271841754904017]