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.001746/0.001746, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.002043/0.002043, allocations: 191.9 kB / 22.17 MB, free: 5.203 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.388/1.388, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.692/2.692, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.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.002002/0.002002, allocations: 71.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8091, allocations: 168.7 MB / 1.274 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01434/0.8235, allocations: 11.31 MB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.8378, allocations: 9.103 MB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.8392, allocations: 59.62 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.8439, allocations: 1.739 MB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.8484, allocations: 1.573 MB / 1.297 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.8502, allocations: 0.673 MB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.8532, allocations: 2.286 MB / 1.3 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.8547, allocations: 0.9697 MB / 1.301 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.8565, allocations: 1.012 MB / 1.302 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.8581, allocations: 1.062 MB / 1.303 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.8583, allocations: 140 kB / 1.303 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.8598, allocations: 0.8227 MB / 1.304 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.8604, allocations: 0.5802 MB / 1.305 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.8615, allocations: 0.8861 MB / 1.306 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.8649, allocations: 2.576 MB / 1.308 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8649, allocations: 4 kB / 1.308 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8649, allocations: 0 / 1.308 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.576e-05/0.8649, allocations: 0 / 1.308 GB, free: 1.523 MB / 0.9981 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.00379/0.8687, allocations: 2.074 MB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.8688, allocations: 8.031 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.8806, allocations: 2.055 MB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.8835, allocations: 1.221 MB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.8836, allocations: 90.69 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.8838, allocations: 120.1 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.8896, allocations: 2.478 MB / 1.316 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.8897, allocations: 11.94 kB / 1.316 GB, free: 9.199 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.8899, allocations: 44 kB / 1.316 GB, free: 9.156 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003741/0.8902, allocations: 134.1 kB / 1.316 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.8977, allocations: 2.541 MB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.9123, allocations: 10.04 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006606/0.9189, allocations: 1.923 MB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.9219, allocations: 0.9503 MB / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.9219, allocations: 4.438 kB / 1.331 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.922, allocations: 43 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.922, allocations: 0 / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03258/0.9545, allocations: 8.705 MB / 1.34 GB, free: 44 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.9546, allocations: 60.06 kB / 1.34 GB, free: 15.97 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.9561, allocations: 1.105 MB / 1.341 GB, free: 14.85 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.9562, allocations: 37.7 kB / 1.341 GB, free: 14.81 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/0.9568, allocations: 0.7551 MB / 1.342 GB, free: 14.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.9571, allocations: 301.4 kB / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.9575, allocations: 202.5 kB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9577, allocations: 341.9 kB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/0.9608, allocations: 1.071 MB / 1.343 GB, free: 12.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.9642, allocations: 1.305 MB / 1.345 GB, free: 10.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.9707, allocations: 2.386 MB / 1.347 GB, free: 8.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9707, allocations: 4 kB / 1.347 GB, free: 8.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00931/0.98, allocations: 3.25 MB / 1.35 GB, free: 4.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.98, allocations: 8.125 kB / 1.35 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.98, allocations: 12 kB / 1.35 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.9829, allocations: 0.7872 MB / 1.351 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.9849, allocations: 407.3 kB / 1.351 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.002, allocations: 15.94 MB / 1.367 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/1.005, allocations: 287.5 kB / 1.367 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.005, allocations: 51.97 kB / 1.367 GB, free: 2.34 MB / 1.061 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.0007718/1.006, allocations: 406 kB / 1.368 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/1.006, allocations: 147.1 kB / 1.368 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009137/1.015, allocations: 3.175 MB / 1.371 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.015, allocations: 11.94 kB / 1.371 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.015, allocations: 12 kB / 1.371 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.015, allocations: 3.984 kB / 1.371 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/1.027, allocations: 4.874 MB / 1.376 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.027, allocations: 3.938 kB / 1.376 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.029, allocations: 359.3 kB / 1.376 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/1.031, allocations: 0.6937 MB / 1.377 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/1.031, allocations: 27.97 kB / 1.377 GB, free: 8.449 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.048, allocations: 15.55 MB / 1.392 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.048, allocations: 4 kB / 1.392 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008556/1.056, allocations: 3.013 MB / 1.395 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/1.057, allocations: 395.9 kB / 1.395 GB, free: 4.27 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.057, allocations: 12 kB / 1.395 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.059, allocations: 299.4 kB / 1.396 GB, free: 3.965 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/1.06, allocations: 80.48 kB / 1.396 GB, free: 3.887 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/1.06, allocations: 39.97 kB / 1.396 GB, free: 3.848 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001075/1.061, allocations: 0.7366 MB / 1.396 GB, free: 3.109 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 4 kB / 1.396 GB, free: 3.105 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001552/1.062, allocations: 431.9 kB / 1.397 GB, free: 2.684 MB / 1.092 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.0002737/1.063, allocations: 123.2 kB / 1.397 GB, free: 2.555 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008771/1.071, allocations: 3.527 MB / 1.4 GB, free: 14.92 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.071, allocations: 0 / 1.4 GB, free: 14.92 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.077, allocations: 2.317 MB / 1.403 GB, free: 12.5 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.079, allocations: 0.5235 MB / 1.403 GB, free: 12 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/1.087, allocations: 3.52 MB / 1.407 GB, free: 8.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.088, allocations: 1.395 MB / 1.408 GB, free: 7 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001275/1.089, allocations: 371.9 kB / 1.408 GB, free: 6.633 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.089, allocations: 99.38 kB / 1.408 GB, free: 6.535 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/1.089, allocations: 11.94 kB / 1.408 GB, free: 6.523 MB / 1.107 GB Notification: Performance of Templates: time 0.05192/1.141, allocations: 31.26 MB / 1.439 GB, free: 7.672 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.34066563891247]