Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001009/0.001009, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002484, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009882/0.0009882, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002251, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9444/0.9444, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09143/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.709/1.709, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4907/2.2, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.274e-05, allocations: 3.219 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008011/0.008034, allocations: 4.224 MB / 0.7338 GB, free: 228 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006093/0.01413, allocations: 1.604 MB / 0.7353 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.01753, allocations: 39.62 kB / 0.7354 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.0182, allocations: 214.5 kB / 0.7356 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008212/0.01902, allocations: 473.1 kB / 0.736 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.01973, allocations: 370.2 kB / 0.7364 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.02399, allocations: 1.213 MB / 0.7376 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.02473, allocations: 0.5197 MB / 0.7381 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/0.02559, allocations: 0.6669 MB / 0.7387 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.02625, allocations: 484.1 kB / 0.7392 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-05/0.02633, allocations: 60 kB / 0.7392 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.0297, allocations: 136.9 kB / 0.7394 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.02995, allocations: 283.3 kB / 0.7397 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.0302, allocations: 227.5 kB / 0.7399 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.03091, allocations: 0.6234 MB / 0.7405 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/0.03092, allocations: 0 / 0.7405 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.362e-06/0.03092, allocations: 0.5312 kB / 0.7405 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.03094, allocations: 4.875 kB / 0.7405 GB, free: 9.348 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001218/0.03216, allocations: 1.085 MB / 0.7415 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.0322, allocations: 8.031 kB / 0.7415 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.03304, allocations: 342.6 kB / 0.7419 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.0336, allocations: 0.4908 MB / 0.7424 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.03363, allocations: 50.48 kB / 0.7424 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.0337, allocations: 64.36 kB / 0.7425 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.03428, allocations: 0.7828 MB / 0.7432 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.0343, allocations: 8.141 kB / 0.7432 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.03434, allocations: 32.36 kB / 0.7433 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.375e-05/0.03441, allocations: 70.23 kB / 0.7433 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.03468, allocations: 260.5 kB / 0.7436 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.03689, allocations: 3.872 MB / 0.7474 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.03721, allocations: 255.8 kB / 0.7476 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.0375, allocations: 229.3 kB / 0.7478 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.03752, allocations: 7.938 kB / 0.7478 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.03755, allocations: 34.56 kB / 0.7479 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.03755, allocations: 0 / 0.7479 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.00159/0.03914, allocations: 0.8884 MB / 0.7487 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.03916, allocations: 55.41 kB / 0.7488 GB, free: 492 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.03938, allocations: 407 kB / 0.7492 GB, free: 72 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.0394, allocations: 32.45 kB / 0.7492 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.03955, allocations: 364.9 kB / 0.7496 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.03962, allocations: 154.7 kB / 0.7497 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.03971, allocations: 102.2 kB / 0.7498 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.0398, allocations: 370.6 kB / 0.7502 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.03988, allocations: 65.28 kB / 0.7502 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.04004, allocations: 277 kB / 0.7505 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.04037, allocations: 447.5 kB / 0.7509 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.04037, allocations: 0 / 0.7509 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006235/0.041, allocations: 0.5633 MB / 0.7515 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.04101, allocations: 8 kB / 0.7515 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.04102, allocations: 8 kB / 0.7515 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.04155, allocations: 250.4 kB / 0.7517 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.04172, allocations: 96.89 kB / 0.7518 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.04474, allocations: 5.41 MB / 0.7571 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.04495, allocations: 20 kB / 0.7571 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.04498, allocations: 24 kB / 0.7571 GB, free: 7.316 MB / 0.7292 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.04514, allocations: 150.8 kB / 0.7573 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.0452, allocations: 47.95 kB / 0.7573 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.04575, allocations: 472.9 kB / 0.7578 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.04576, allocations: 4 kB / 0.7578 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.04576, allocations: 5.125 kB / 0.7578 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.04577, allocations: 3.984 kB / 0.7578 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.04675, allocations: 0.8767 MB / 0.7586 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.04675, allocations: 0 / 0.7586 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.04684, allocations: 41.17 kB / 0.7587 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.04692, allocations: 79.52 kB / 0.7588 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.04738, allocations: 242.4 kB / 0.759 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.0474, allocations: 8.562 kB / 0.759 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.0504, allocations: 5.402 MB / 0.7643 GB, free: 15.53 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.0504, allocations: 0 / 0.7643 GB, free: 15.53 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.05103, allocations: 0.602 MB / 0.7649 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.05107, allocations: 12.53 kB / 0.7649 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.05119, allocations: 12.78 kB / 0.7649 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.05127, allocations: 39.86 kB / 0.7649 GB, free: 14.81 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.05129, allocations: 13.16 kB / 0.7649 GB, free: 14.8 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001238/0.05141, allocations: 168.4 kB / 0.7651 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.05141, allocations: 0 / 0.7651 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0005795/0.05199, allocations: 193.4 kB / 0.7653 GB, free: 14.45 MB / 0.7449 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.05213, allocations: 86.2 kB / 0.7654 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0008913/0.05302, allocations: 0.8714 MB / 0.7662 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/0.05305, allocations: 20.48 kB / 0.7662 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.05359, allocations: 0.7158 MB / 0.7669 GB, free: 12.66 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.05453, allocations: 1.672 MB / 0.7686 GB, free: 10.68 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.05777, allocations: 1.19 MB / 0.7697 GB, free: 9.438 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.05793, allocations: 207 kB / 0.7699 GB, free: 9.215 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.05811, allocations: 67.95 kB / 0.77 GB, free: 9.152 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.05832, allocations: 170.9 kB / 0.7701 GB, free: 8.984 MB / 0.7449 GB Notification: Performance of SimCode: time 1.422e-06/0.05832, allocations: 0 / 0.7701 GB, free: 8.984 MB / 0.7449 GB Notification: Performance of Templates: time 0.01329/0.07162, allocations: 11.34 MB / 0.7812 GB, free: 13.84 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.916694522835314]