Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001334/0.001334, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001398/0.001398, allocations: 157.5 kB / 23.01 MB, free: 4.949 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.822/2.822, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002149/0.002149, allocations: 67.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8904, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01688/0.9073, allocations: 19.51 MB / 1.173 GB, free: 21.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009616/0.9169, allocations: 6.487 MB / 1.179 GB, free: 16.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.9186, allocations: 115.3 kB / 1.179 GB, free: 16.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005176/0.9238, allocations: 2.244 MB / 1.182 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.9272, allocations: 1.245 MB / 1.183 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.9305, allocations: 1.296 MB / 1.184 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005874/0.9363, allocations: 4.848 MB / 1.189 GB, free: 11.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/0.9412, allocations: 3.147 MB / 1.192 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.9457, allocations: 2.165 MB / 1.194 GB, free: 9.379 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.9507, allocations: 2.33 MB / 1.196 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.9522, allocations: 429.4 kB / 1.197 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.9555, allocations: 0.9429 MB / 1.198 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.9586, allocations: 1.713 MB / 1.199 GB, free: 7.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004465/0.963, allocations: 1.554 MB / 1.201 GB, free: 6.703 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.9732, allocations: 6.562 MB / 1.207 GB, free: 4.637 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.9732, allocations: 0 / 1.207 GB, free: 4.637 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9732, allocations: 0 / 1.207 GB, free: 4.637 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002329/0.9734, allocations: 1.344 kB / 1.207 GB, free: 4.637 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.009071/0.9825, allocations: 3.465 MB / 1.211 GB, free: 2.668 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.9826, allocations: 11.55 kB / 1.211 GB, free: 2.668 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.9863, allocations: 0.6555 MB / 1.211 GB, free: 2.469 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.9908, allocations: 1.997 MB / 1.213 GB, free: 1.438 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.991, allocations: 221.9 kB / 1.213 GB, free: 1.336 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006955/0.9917, allocations: 296.8 kB / 1.214 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009478/1.001, allocations: 5.244 MB / 1.219 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.925e-05/1.001, allocations: 13.95 kB / 1.219 GB, free: 14.72 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/1.002, allocations: 127.4 kB / 1.219 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004786/1.002, allocations: 226.2 kB / 1.219 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007579/1.01, allocations: 3.743 MB / 1.223 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02469/1.034, allocations: 13.11 MB / 1.236 GB, free: 4.629 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/1.037, allocations: 1.226 MB / 1.237 GB, free: 4.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.038, allocations: 0.9927 MB / 1.238 GB, free: 3.789 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/1.039, allocations: 11.62 kB / 1.238 GB, free: 3.785 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/1.039, allocations: 50.78 kB / 1.238 GB, free: 3.734 MB / 1.092 GB Notification: Performance of pre-optimization done (n=107): time 3.838e-06/1.039, allocations: 0 / 1.238 GB, free: 3.734 MB / 1.092 GB Notification: Performance of matching and sorting (n=138): time 0.02752/1.066, allocations: 8.416 MB / 1.246 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/1.066, allocations: 67.28 kB / 1.246 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/1.068, allocations: 1.061 MB / 1.247 GB, free: 148 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/1.068, allocations: 51.33 kB / 1.247 GB, free: 96 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.07, allocations: 1.354 MB / 1.249 GB, free: 14.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/1.07, allocations: 0.4909 MB / 1.249 GB, free: 14.46 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/1.071, allocations: 299.3 kB / 1.249 GB, free: 14.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.071, allocations: 306 kB / 1.25 GB, free: 13.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/1.072, allocations: 0.918 MB / 1.25 GB, free: 13.51 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.074, allocations: 1.323 MB / 1.252 GB, free: 12.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/1.078, allocations: 2.421 MB / 1.254 GB, free: 10.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.078, allocations: 3.781 kB / 1.254 GB, free: 10.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006712/1.085, allocations: 3.428 MB / 1.258 GB, free: 9.07 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.085, allocations: 12.84 kB / 1.258 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.085, allocations: 11.75 kB / 1.258 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/1.088, allocations: 1.176 MB / 1.259 GB, free: 8.531 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.089, allocations: 258.1 kB / 1.259 GB, free: 8.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.108, allocations: 13.26 MB / 1.272 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.11, allocations: 91.97 kB / 1.272 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.11, allocations: 63.94 kB / 1.272 GB, free: 14.69 MB / 1.123 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.002408/1.113, allocations: 1.11 MB / 1.273 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.113, allocations: 159 kB / 1.273 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/1.119, allocations: 3.133 MB / 1.276 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.119, allocations: 12 kB / 1.276 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-05/1.119, allocations: 15.94 kB / 1.276 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.119, allocations: 11.95 kB / 1.276 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.132, allocations: 5.468 MB / 1.282 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/1.132, allocations: 8.125 kB / 1.282 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/1.133, allocations: 151.7 kB / 1.282 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.136, allocations: 1.066 MB / 1.283 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.136, allocations: 27.98 kB / 1.283 GB, free: 3.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/1.155, allocations: 12.97 MB / 1.296 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.155, allocations: 4 kB / 1.296 GB, free: 6.109 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/1.161, allocations: 3.111 MB / 1.299 GB, free: 2.914 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.162, allocations: 342.9 kB / 1.299 GB, free: 2.578 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.162, allocations: 36 kB / 1.299 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008227/1.163, allocations: 79.89 kB / 1.299 GB, free: 2.465 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/1.163, allocations: 132.6 kB / 1.299 GB, free: 2.336 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/1.163, allocations: 40 kB / 1.299 GB, free: 2.297 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00107/1.165, allocations: 0.7059 MB / 1.3 GB, free: 1.586 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.165, allocations: 0 / 1.3 GB, free: 1.586 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002418/1.167, allocations: 0.6562 MB / 1.301 GB, free: 0.9297 MB / 1.139 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.0002651/1.167, allocations: 143.6 kB / 1.301 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005215/1.172, allocations: 3.006 MB / 1.304 GB, free: 13.73 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.172, allocations: 4.125 kB / 1.304 GB, free: 13.73 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.176, allocations: 1.889 MB / 1.305 GB, free: 11.8 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.178, allocations: 473.3 kB / 1.306 GB, free: 11.35 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.188, allocations: 5.527 MB / 1.311 GB, free: 5.734 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.191, allocations: 1.777 MB / 1.313 GB, free: 3.922 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001147/1.192, allocations: 337.3 kB / 1.313 GB, free: 3.586 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/1.192, allocations: 88.48 kB / 1.313 GB, free: 3.5 MB / 1.154 GB Notification: Performance of SimCode: time 1.092e-06/1.192, allocations: 0 / 1.313 GB, free: 3.5 MB / 1.154 GB Notification: Performance of Templates: time 0.06125/1.253, allocations: 33.12 MB / 1.346 GB, free: 3.043 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.795101106050424]