Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 192.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003351/0.003351, allocations: 63.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8298, allocations: 168.7 MB / 1.274 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009817/0.8396, allocations: 7.06 MB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.8449, allocations: 3.192 MB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.8454, allocations: 27.81 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.8479, allocations: 0.9833 MB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.849, allocations: 0.5246 MB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.8501, allocations: 450 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.8515, allocations: 1.228 MB / 1.287 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.8522, allocations: 477 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.8529, allocations: 490.2 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.8536, allocations: 0.5448 MB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.8537, allocations: 68 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.8544, allocations: 387.2 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.8547, allocations: 323 kB / 1.289 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.8552, allocations: 453.7 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.8566, allocations: 1.23 MB / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8566, allocations: 3.938 kB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8566, allocations: 0 / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.8566, allocations: 0 / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002104/0.8587, allocations: 1.179 MB / 1.292 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8587, allocations: 19.95 kB / 1.292 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.8603, allocations: 248.1 kB / 1.292 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.8614, allocations: 0.6081 MB / 1.293 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.8614, allocations: 49.69 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.8615, allocations: 64.3 kB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.8631, allocations: 1.089 MB / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.8631, allocations: 0 / 1.294 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.8632, allocations: 35.98 kB / 1.294 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.8634, allocations: 85.25 kB / 1.294 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.8645, allocations: 0.7503 MB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.8704, allocations: 5.89 MB / 1.301 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.8715, allocations: 0.5113 MB / 1.301 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.8719, allocations: 282 kB / 1.302 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.8719, allocations: 8.438 kB / 1.302 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.872, allocations: 39 kB / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/0.872, allocations: 0 / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004182/0.8761, allocations: 1.987 MB / 1.304 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.8762, allocations: 63.83 kB / 1.304 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.8769, allocations: 0.5665 MB / 1.304 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.8769, allocations: 33.7 kB / 1.304 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.8773, allocations: 424.1 kB / 1.305 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.8774, allocations: 174.5 kB / 1.305 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.8776, allocations: 134.6 kB / 1.305 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8778, allocations: 374.7 kB / 1.305 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.8783, allocations: 281.8 kB / 1.306 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.8789, allocations: 489 kB / 1.306 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.88, allocations: 0.8093 MB / 1.307 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.88, allocations: 4 kB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001943/0.8819, allocations: 1.075 MB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.882, allocations: 8 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.882, allocations: 8 kB / 1.308 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008652/0.8828, allocations: 279.7 kB / 1.308 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.8834, allocations: 131.7 kB / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007114/0.8905, allocations: 7.146 MB / 1.315 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.8911, allocations: 39.97 kB / 1.315 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.8912, allocations: 24 kB / 1.315 GB, free: 8.602 MB / 1.014 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.8915, allocations: 262.1 kB / 1.316 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.8917, allocations: 75.56 kB / 1.316 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.8933, allocations: 0.8846 MB / 1.316 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8933, allocations: 7.938 kB / 1.316 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8933, allocations: 7.984 kB / 1.316 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.8933, allocations: 3.984 kB / 1.316 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.896, allocations: 1.709 MB / 1.318 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.896, allocations: 0 / 1.318 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.8963, allocations: 63.83 kB / 1.318 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000755/0.8971, allocations: 271.6 kB / 1.318 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.8971, allocations: 8 kB / 1.318 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006833/0.9039, allocations: 7.119 MB / 1.325 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.9039, allocations: 8.016 kB / 1.325 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.9056, allocations: 0.98 MB / 1.326 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.9059, allocations: 196.8 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.906, allocations: 23.94 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.9064, allocations: 31.91 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9065, allocations: 39.94 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.9065, allocations: 12 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004678/0.907, allocations: 403 kB / 1.327 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.907, allocations: 0 / 1.327 GB, free: 11.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008047/0.9078, allocations: 224 kB / 1.327 GB, free: 11.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.908, allocations: 115.2 kB / 1.327 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.91, allocations: 1.225 MB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.91, allocations: 0 / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.9113, allocations: 0.8697 MB / 1.329 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.9123, allocations: 221.5 kB / 1.33 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.9145, allocations: 1.362 MB / 1.331 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.9152, allocations: 1.013 MB / 1.332 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003544/0.9156, allocations: 118 kB / 1.332 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9157, allocations: 39.44 kB / 1.332 GB, free: 6.41 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.9157, allocations: 3.938 kB / 1.332 GB, free: 6.406 MB / 1.029 GB Notification: Performance of Templates: time 0.0202/0.9359, allocations: 11.7 MB / 1.344 GB, free: 10.84 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 8.813642389141023]