Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001951/0.001951, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002342/0.002342, allocations: 156.9 kB / 23.01 MB, free: 4.602 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.93 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.911/2.911, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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.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_latest_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_latest_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.00311/0.00311, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9599/0.963, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02068/0.9837, allocations: 19.53 MB / 1.206 GB, free: 4.043 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.9952, allocations: 6.473 MB / 1.212 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.998, allocations: 118.2 kB / 1.212 GB, free: 15.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00717/1.005, allocations: 2.245 MB / 1.214 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005413/1.011, allocations: 1.244 MB / 1.216 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005078/1.016, allocations: 1.294 MB / 1.217 GB, free: 12.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009147/1.025, allocations: 4.854 MB / 1.222 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/1.035, allocations: 3.143 MB / 1.225 GB, free: 9.219 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005391/1.04, allocations: 2.169 MB / 1.227 GB, free: 8.238 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005684/1.046, allocations: 2.326 MB / 1.229 GB, free: 7.367 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001876/1.048, allocations: 430.3 kB / 1.229 GB, free: 7.367 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/1.052, allocations: 0.946 MB / 1.23 GB, free: 7.168 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004136/1.056, allocations: 1.713 MB / 1.232 GB, free: 6.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006157/1.062, allocations: 1.545 MB / 1.234 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01333/1.075, allocations: 6.567 MB / 1.24 GB, free: 2.164 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.075, allocations: 0.9375 kB / 1.24 GB, free: 2.164 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.042e-06/1.075, allocations: 0 / 1.24 GB, free: 2.164 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002922/1.076, allocations: 0 / 1.24 GB, free: 2.164 MB / 1.092 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.01318/1.089, allocations: 3.468 MB / 1.243 GB, free: 15.81 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.089, allocations: 10.28 kB / 1.243 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/1.094, allocations: 0.6587 MB / 1.244 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/1.099, allocations: 1.998 MB / 1.246 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/1.1, allocations: 222 kB / 1.246 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/1.101, allocations: 300.8 kB / 1.246 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/1.113, allocations: 5.242 MB / 1.252 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/1.113, allocations: 13.33 kB / 1.252 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00078/1.114, allocations: 127 kB / 1.252 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005255/1.115, allocations: 227.8 kB / 1.252 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/1.122, allocations: 3.744 MB / 1.256 GB, free: 8.461 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/1.147, allocations: 13.1 MB / 1.268 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/1.149, allocations: 1.238 MB / 1.27 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.151, allocations: 0.9904 MB / 1.271 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/1.151, allocations: 11.41 kB / 1.271 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.151, allocations: 45.16 kB / 1.271 GB, free: 13.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 3.537e-06/1.151, allocations: 0 / 1.271 GB, free: 13.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.0267/1.178, allocations: 8.408 MB / 1.279 GB, free: 7.047 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.178, allocations: 64.72 kB / 1.279 GB, free: 6.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/1.179, allocations: 1.067 MB / 1.28 GB, free: 5.895 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.179, allocations: 49.7 kB / 1.28 GB, free: 5.84 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/1.18, allocations: 1.35 MB / 1.281 GB, free: 4.477 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/1.181, allocations: 0.4996 MB / 1.282 GB, free: 3.973 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/1.181, allocations: 291.5 kB / 1.282 GB, free: 3.68 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.182, allocations: 309 kB / 1.282 GB, free: 3.375 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.183, allocations: 0.9096 MB / 1.283 GB, free: 2.465 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.185, allocations: 1.33 MB / 1.284 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.188, allocations: 2.426 MB / 1.287 GB, free: 14.37 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.188, allocations: 8 kB / 1.287 GB, free: 14.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006921/1.195, allocations: 3.421 MB / 1.29 GB, free: 10.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/1.195, allocations: 12 kB / 1.29 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/1.195, allocations: 12 kB / 1.29 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/1.199, allocations: 1.186 MB / 1.291 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.2, allocations: 259.5 kB / 1.292 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.219, allocations: 13.26 MB / 1.305 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.221, allocations: 87.97 kB / 1.305 GB, free: 11.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/1.221, allocations: 71.92 kB / 1.305 GB, free: 11.74 MB / 1.154 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.00271/1.224, allocations: 1.11 MB / 1.306 GB, free: 10.62 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/1.224, allocations: 159 kB / 1.306 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/1.231, allocations: 3.133 MB / 1.309 GB, free: 7.312 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.231, allocations: 12 kB / 1.309 GB, free: 7.301 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.231, allocations: 12 kB / 1.309 GB, free: 7.289 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.231, allocations: 15.91 kB / 1.309 GB, free: 7.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.243, allocations: 5.461 MB / 1.314 GB, free: 1.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.243, allocations: 8 kB / 1.314 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/1.244, allocations: 151.7 kB / 1.315 GB, free: 1.551 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/1.247, allocations: 1.069 MB / 1.316 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.247, allocations: 36.36 kB / 1.316 GB, free: 452 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.265, allocations: 12.95 MB / 1.328 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.265, allocations: 15.88 kB / 1.328 GB, free: 3.18 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/1.272, allocations: 3.115 MB / 1.331 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.273, allocations: 350.9 kB / 1.332 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/1.273, allocations: 32 kB / 1.332 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.274, allocations: 79.89 kB / 1.332 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/1.275, allocations: 136.6 kB / 1.332 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.275, allocations: 36 kB / 1.332 GB, free: 15.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001237/1.276, allocations: 0.702 MB / 1.333 GB, free: 14.65 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.276, allocations: 0 / 1.333 GB, free: 14.65 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002636/1.279, allocations: 0.6602 MB / 1.333 GB, free: 13.99 MB / 1.186 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.0002743/1.279, allocations: 139.4 kB / 1.333 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00542/1.284, allocations: 3.006 MB / 1.336 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.284, allocations: 4 kB / 1.336 GB, free: 10.79 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.288, allocations: 1.885 MB / 1.338 GB, free: 8.871 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/1.291, allocations: 479.1 kB / 1.339 GB, free: 8.414 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.303, allocations: 5.522 MB / 1.344 GB, free: 2.809 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.307, allocations: 1.765 MB / 1.346 GB, free: 1.008 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001268/1.308, allocations: 349.3 kB / 1.346 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/1.308, allocations: 88.44 kB / 1.346 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of SimCode: time 1.002e-06/1.308, allocations: 0 / 1.346 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of Templates: time 0.06302/1.371, allocations: 33.1 MB / 1.379 GB, free: 36 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.205652769072913]