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.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.001664/0.001664, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001975/0.001975, allocations: 198.2 kB / 22.17 MB, free: 5.211 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.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.736/2.736, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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,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: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.69 kB / 1.109 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01877/0.3271, allocations: 14.59 MB / 1.288 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3428, allocations: 9.746 MB / 1.298 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3441, allocations: 59.62 kB / 1.298 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004799/0.3489, allocations: 1.735 MB / 1.3 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.3538, allocations: 1.591 MB / 1.301 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.356, allocations: 0.7695 MB / 1.302 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.3598, allocations: 2.508 MB / 1.304 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.3614, allocations: 0.9972 MB / 1.305 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.3629, allocations: 1.074 MB / 1.306 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.3646, allocations: 1.203 MB / 1.308 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.3649, allocations: 164 kB / 1.308 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.3664, allocations: 0.8033 MB / 1.308 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006329/0.367, allocations: 0.6308 MB / 1.309 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009602/0.368, allocations: 0.9445 MB / 1.31 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.371, allocations: 2.763 MB / 1.313 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.371, allocations: 0 / 1.313 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.371, allocations: 0 / 1.313 GB, free: 3.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.3711, allocations: 3.984 kB / 1.313 GB, free: 3.512 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.004074/0.3751, allocations: 2.195 MB / 1.315 GB, free: 1.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3752, allocations: 8.031 kB / 1.315 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.3872, allocations: 2.094 MB / 1.317 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.3906, allocations: 1.303 MB / 1.318 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.3907, allocations: 94.73 kB / 1.318 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.391, allocations: 120.1 kB / 1.318 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.3972, allocations: 2.679 MB / 1.321 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.3973, allocations: 15.88 kB / 1.321 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3974, allocations: 51.98 kB / 1.321 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006983/0.3981, allocations: 186.1 kB / 1.321 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/0.4063, allocations: 2.795 MB / 1.324 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.4228, allocations: 10.47 MB / 1.334 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.4301, allocations: 2.443 MB / 1.337 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.4334, allocations: 1.221 MB / 1.338 GB, free: 8.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.4335, allocations: 13 kB / 1.338 GB, free: 8.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.4335, allocations: 47.5 kB / 1.338 GB, free: 8.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.776e-06/0.4335, allocations: 0 / 1.338 GB, free: 8.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04933/0.4829, allocations: 13.34 MB / 1.351 GB, free: 11.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.4829, allocations: 68.7 kB / 1.351 GB, free: 11.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.4846, allocations: 1.117 MB / 1.352 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4847, allocations: 45.7 kB / 1.352 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.4853, allocations: 0.7286 MB / 1.353 GB, free: 9.293 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004873/0.4858, allocations: 479.8 kB / 1.353 GB, free: 8.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.4864, allocations: 263.5 kB / 1.353 GB, free: 8.555 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.4866, allocations: 365.9 kB / 1.354 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/0.4903, allocations: 1.335 MB / 1.355 GB, free: 6.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/0.4942, allocations: 1.6 MB / 1.357 GB, free: 5.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/0.5018, allocations: 2.991 MB / 1.36 GB, free: 2.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5018, allocations: 4 kB / 1.36 GB, free: 2.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01239/0.5142, allocations: 4.4 MB / 1.364 GB, free: 13.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.5142, allocations: 12.86 kB / 1.364 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5143, allocations: 8 kB / 1.364 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/0.5197, allocations: 1.431 MB / 1.365 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.5219, allocations: 435.2 kB / 1.366 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/0.5526, allocations: 26.7 MB / 1.392 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.5552, allocations: 307.7 kB / 1.392 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5553, allocations: 63.91 kB / 1.392 GB, free: 14.8 MB / 1.107 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.000832/0.5562, allocations: 435 kB / 1.393 GB, free: 14.37 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.5565, allocations: 175 kB / 1.393 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.5686, allocations: 4.406 MB / 1.397 GB, free: 9.734 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5686, allocations: 12 kB / 1.397 GB, free: 9.723 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.5686, allocations: 19.94 kB / 1.397 GB, free: 9.703 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5686, allocations: 7.969 kB / 1.397 GB, free: 9.695 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.5848, allocations: 6.721 MB / 1.404 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.5848, allocations: 0 / 1.404 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.5867, allocations: 387.6 kB / 1.404 GB, free: 2.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/0.5915, allocations: 1.298 MB / 1.405 GB, free: 1.09 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.5916, allocations: 43.95 kB / 1.405 GB, free: 1.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02839/0.62, allocations: 25.51 MB / 1.43 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.62, allocations: 4.109 kB / 1.43 GB, free: 5.711 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.6313, allocations: 4.168 MB / 1.434 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.6325, allocations: 463.8 kB / 1.435 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6327, allocations: 24 kB / 1.435 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/0.6349, allocations: 311.5 kB / 1.435 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/0.6353, allocations: 120.7 kB / 1.435 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.6354, allocations: 51.97 kB / 1.435 GB, free: 492 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001048/0.6364, allocations: 0.7526 MB / 1.436 GB, free: 15.73 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6364, allocations: 0 / 1.436 GB, free: 15.73 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001848/0.6383, allocations: 0.5703 MB / 1.437 GB, free: 15.16 MB / 1.154 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.0002923/0.6386, allocations: 143.1 kB / 1.437 GB, free: 15 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01147/0.6501, allocations: 4.97 MB / 1.442 GB, free: 9.863 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6501, allocations: 0 / 1.442 GB, free: 9.863 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007371/0.6574, allocations: 3.425 MB / 1.445 GB, free: 6.266 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.66, allocations: 0.5591 MB / 1.445 GB, free: 5.727 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.6692, allocations: 4.055 MB / 1.449 GB, free: 1.617 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.6705, allocations: 1.477 MB / 1.451 GB, free: 112 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001473/0.672, allocations: 429.6 kB / 1.451 GB, free: 15.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.6724, allocations: 111.4 kB / 1.451 GB, free: 15.57 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/0.6724, allocations: 3.938 kB / 1.451 GB, free: 15.57 MB / 1.17 GB Notification: Performance of Templates: time 0.07913/0.7515, allocations: 40.43 MB / 1.491 GB, free: 7.566 MB / 1.201 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.697807701770216]