Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.002215/0.002215, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002654/0.002654, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.831/1.831, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.951/2.951, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002087/0.002087, allocations: 67.5 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01904/0.3346, allocations: 13.3 MB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3508, allocations: 9.139 MB / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3526, allocations: 87.25 kB / 1.305 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005693/0.3583, allocations: 1.671 MB / 1.307 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.3648, allocations: 1.585 MB / 1.308 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.3672, allocations: 0.759 MB / 1.309 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004147/0.3714, allocations: 2.524 MB / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.3734, allocations: 1.164 MB / 1.313 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.3756, allocations: 1.215 MB / 1.314 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.3774, allocations: 1.062 MB / 1.315 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.3777, allocations: 160 kB / 1.315 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3793, allocations: 0.7252 MB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000722/0.38, allocations: 0.6153 MB / 1.316 GB, free: 9.883 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.3811, allocations: 0.7738 MB / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.3852, allocations: 2.748 MB / 1.32 GB, free: 6.348 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3852, allocations: 4 kB / 1.32 GB, free: 6.344 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3852, allocations: 0 / 1.32 GB, free: 6.344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.177e-05/0.3852, allocations: 0 / 1.32 GB, free: 6.344 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004445/0.3897, allocations: 2.108 MB / 1.322 GB, free: 4.195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3897, allocations: 12.03 kB / 1.322 GB, free: 4.184 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.4017, allocations: 2.094 MB / 1.324 GB, free: 2.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.405, allocations: 1.177 MB / 1.325 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.4051, allocations: 86.73 kB / 1.325 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.4054, allocations: 128 kB / 1.325 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006773/0.4122, allocations: 2.885 MB / 1.328 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.4122, allocations: 11.88 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.4124, allocations: 55.98 kB / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007085/0.4131, allocations: 178.1 kB / 1.328 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008468/0.4216, allocations: 2.795 MB / 1.331 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/0.4382, allocations: 8.134 MB / 1.339 GB, free: 2.219 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007193/0.4454, allocations: 2.215 MB / 1.341 GB, free: 0 / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.4489, allocations: 1.212 MB / 1.342 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.449, allocations: 9 kB / 1.342 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.449, allocations: 43.56 kB / 1.342 GB, free: 14.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.449, allocations: 0 / 1.342 GB, free: 14.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.05019/0.4992, allocations: 12.65 MB / 1.355 GB, free: 2.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.4992, allocations: 68.66 kB / 1.355 GB, free: 1.945 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5007, allocations: 0.9834 MB / 1.356 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.5009, allocations: 45.7 kB / 1.356 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.5016, allocations: 0.7316 MB / 1.356 GB, free: 164 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000634/0.5023, allocations: 480.1 kB / 1.357 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.5028, allocations: 263.5 kB / 1.357 GB, free: 15.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.5031, allocations: 361.7 kB / 1.357 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/0.5067, allocations: 1.335 MB / 1.359 GB, free: 13.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/0.5106, allocations: 1.608 MB / 1.36 GB, free: 12.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/0.5182, allocations: 2.987 MB / 1.363 GB, free: 8.938 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5182, allocations: 4 kB / 1.363 GB, free: 8.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01254/0.5307, allocations: 4.385 MB / 1.368 GB, free: 4.496 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.5307, allocations: 15.92 kB / 1.368 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.5308, allocations: 8 kB / 1.368 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.5363, allocations: 1.427 MB / 1.369 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.5385, allocations: 435.2 kB / 1.369 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/0.5685, allocations: 24.8 MB / 1.394 GB, free: 8.445 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.5713, allocations: 303.7 kB / 1.394 GB, free: 8.148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.5715, allocations: 68.14 kB / 1.394 GB, free: 8.082 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009591/0.5724, allocations: 441.9 kB / 1.394 GB, free: 7.641 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.5728, allocations: 159 kB / 1.395 GB, free: 7.484 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5852, allocations: 4.389 MB / 1.399 GB, free: 3.039 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.5852, allocations: 12 kB / 1.399 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.5852, allocations: 20 kB / 1.399 GB, free: 3.008 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.5852, allocations: 7.969 kB / 1.399 GB, free: 3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.6015, allocations: 6.136 MB / 1.405 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6015, allocations: 0 / 1.405 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.6034, allocations: 383.3 kB / 1.405 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/0.6083, allocations: 1.307 MB / 1.406 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.6084, allocations: 39.97 kB / 1.407 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/0.6371, allocations: 23.68 MB / 1.43 GB, free: 1.977 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6371, allocations: 4.219 kB / 1.43 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/0.6488, allocations: 4.147 MB / 1.434 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.6504, allocations: 370.8 kB / 1.434 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.6506, allocations: 31.92 kB / 1.434 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/0.6528, allocations: 307.4 kB / 1.434 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.6533, allocations: 132.7 kB / 1.434 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.6535, allocations: 47.97 kB / 1.435 GB, free: 12.86 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001088/0.6545, allocations: 0.6506 MB / 1.435 GB, free: 12.2 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6545, allocations: 0 / 1.435 GB, free: 12.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002447/0.657, allocations: 0.5625 MB / 1.436 GB, free: 11.64 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003549/0.6573, allocations: 148.2 kB / 1.436 GB, free: 11.48 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01274/0.6701, allocations: 4.978 MB / 1.441 GB, free: 6.336 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.6701, allocations: 0 / 1.441 GB, free: 6.336 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007378/0.6775, allocations: 3.409 MB / 1.444 GB, free: 2.758 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.6803, allocations: 0.5001 MB / 1.445 GB, free: 2.273 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.6902, allocations: 4.055 MB / 1.449 GB, free: 14.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.6917, allocations: 0.8906 MB / 1.449 GB, free: 13.23 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001582/0.6933, allocations: 404.4 kB / 1.45 GB, free: 12.84 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.6938, allocations: 111.4 kB / 1.45 GB, free: 12.73 MB / 1.154 GB Notification: Performance of SimCode: time 1.613e-06/0.6938, allocations: 0 / 1.45 GB, free: 12.73 MB / 1.154 GB Notification: Performance of Templates: time 0.06977/0.7635, allocations: 42.34 MB / 1.491 GB, free: 3.086 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.847562586888671]