Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001638/0.001638, allocations: 110.2 kB / 18.94 MB, free: 2.949 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.001786/0.001786, allocations: 186.2 kB / 22.23 MB, free: 5.137 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.392/1.392, allocations: 225.6 MB / 251 MB, free: 13.02 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.756/2.756, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 177] 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.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.OnePhase.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.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.98 kB / 1.11 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 168.8 MB / 1.274 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01444/0.3553, allocations: 11.31 MB / 1.285 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.3694, allocations: 9.107 MB / 1.294 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3709, allocations: 75.31 kB / 1.294 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.3758, allocations: 1.75 MB / 1.296 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.381, allocations: 1.578 MB / 1.298 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.3836, allocations: 0.6795 MB / 1.298 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.3877, allocations: 2.289 MB / 1.301 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.3893, allocations: 0.9624 MB / 1.301 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3912, allocations: 1.028 MB / 1.302 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.394, allocations: 1.07 MB / 1.303 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.3945, allocations: 140 kB / 1.304 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.3969, allocations: 0.8188 MB / 1.304 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008872/0.3978, allocations: 0.5762 MB / 1.305 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.3994, allocations: 0.8823 MB / 1.306 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.4051, allocations: 2.58 MB / 1.308 GB, free: 7.965 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.4051, allocations: 4 kB / 1.308 GB, free: 7.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.586e-06/0.4051, allocations: 0 / 1.308 GB, free: 7.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001116/0.4052, allocations: 7.984 kB / 1.308 GB, free: 7.953 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005789/0.411, allocations: 1.995 MB / 1.31 GB, free: 5.918 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.4111, allocations: 11.98 kB / 1.31 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.4217, allocations: 2.051 MB / 1.312 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.4253, allocations: 1.141 MB / 1.313 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4254, allocations: 94.62 kB / 1.314 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.4257, allocations: 124.1 kB / 1.314 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006439/0.4322, allocations: 2.474 MB / 1.316 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.4322, allocations: 7.938 kB / 1.316 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.4324, allocations: 51.98 kB / 1.316 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004122/0.4328, allocations: 134.1 kB / 1.316 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/0.4398, allocations: 2.533 MB / 1.319 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.4543, allocations: 9.922 MB / 1.328 GB, free: 2.516 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005518/0.4598, allocations: 1.85 MB / 1.33 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.4623, allocations: 0.9439 MB / 1.331 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.4623, allocations: 8.422 kB / 1.331 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.4624, allocations: 39 kB / 1.331 GB, free: 15.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/0.4624, allocations: 0 / 1.331 GB, free: 15.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=81): time 0.02951/0.4919, allocations: 8.638 MB / 1.34 GB, free: 6.973 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4919, allocations: 64.06 kB / 1.34 GB, free: 6.895 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4935, allocations: 1.097 MB / 1.341 GB, free: 5.781 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.4936, allocations: 45.64 kB / 1.341 GB, free: 5.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.4943, allocations: 0.7512 MB / 1.342 GB, free: 4.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4946, allocations: 293.4 kB / 1.342 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.495, allocations: 202.5 kB / 1.342 GB, free: 4.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4951, allocations: 341.9 kB / 1.342 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.4979, allocations: 1.075 MB / 1.343 GB, free: 3.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.5009, allocations: 1.309 MB / 1.345 GB, free: 1.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/0.5065, allocations: 2.378 MB / 1.347 GB, free: 15.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.5065, allocations: 8 kB / 1.347 GB, free: 15.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008532/0.515, allocations: 3.25 MB / 1.35 GB, free: 11.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5151, allocations: 8 kB / 1.35 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5151, allocations: 8 kB / 1.35 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.5179, allocations: 0.7878 MB / 1.351 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.5198, allocations: 423.2 kB / 1.351 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.5366, allocations: 15.11 MB / 1.366 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.5388, allocations: 295.6 kB / 1.366 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5389, allocations: 51.97 kB / 1.366 GB, free: 10.28 MB / 1.076 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007721/0.5397, allocations: 397.4 kB / 1.367 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.54, allocations: 147.1 kB / 1.367 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008388/0.5484, allocations: 3.179 MB / 1.37 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5484, allocations: 15.92 kB / 1.37 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.5484, allocations: 8 kB / 1.37 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5484, allocations: 3.984 kB / 1.37 GB, free: 6.492 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.5598, allocations: 4.846 MB / 1.375 GB, free: 1.531 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5598, allocations: 7.922 kB / 1.375 GB, free: 1.523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.5614, allocations: 359.7 kB / 1.375 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/0.5638, allocations: 0.6974 MB / 1.376 GB, free: 460 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.5639, allocations: 27.97 kB / 1.376 GB, free: 432 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.5799, allocations: 14.73 MB / 1.39 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5799, allocations: 4 kB / 1.39 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008057/0.5879, allocations: 3.017 MB / 1.393 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008839/0.5888, allocations: 314.8 kB / 1.394 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.589, allocations: 19.94 kB / 1.394 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.5907, allocations: 295.4 kB / 1.394 GB, free: 13.05 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.591, allocations: 84.44 kB / 1.394 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.5911, allocations: 44.11 kB / 1.394 GB, free: 12.93 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001048/0.5921, allocations: 0.7327 MB / 1.395 GB, free: 12.19 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5921, allocations: 0 / 1.395 GB, free: 12.19 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001419/0.5935, allocations: 436 kB / 1.395 GB, free: 11.77 MB / 1.107 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002518/0.5938, allocations: 123.2 kB / 1.395 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008075/0.6019, allocations: 3.511 MB / 1.399 GB, free: 8.023 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6019, allocations: 0 / 1.399 GB, free: 8.023 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/0.6067, allocations: 2.336 MB / 1.401 GB, free: 5.586 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.6088, allocations: 0.5199 MB / 1.401 GB, free: 5.086 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.6162, allocations: 3.501 MB / 1.405 GB, free: 1.527 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.6173, allocations: 1.392 MB / 1.406 GB, free: 104 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001367/0.6187, allocations: 383.8 kB / 1.407 GB, free: 15.72 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.619, allocations: 99.38 kB / 1.407 GB, free: 15.62 MB / 1.123 GB Notification: Performance of SimCode: time 1.052e-06/0.6191, allocations: 0 / 1.407 GB, free: 15.62 MB / 1.123 GB Notification: Performance of Templates: time 0.05277/0.6718, allocations: 31.48 MB / 1.437 GB, free: 0.5664 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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.432413659989834]