Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001691/0.001691, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002275/0.002275, allocations: 211.5 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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,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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 66.81 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01432/0.3648, allocations: 10.34 MB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.379, allocations: 8.507 MB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3805, allocations: 83.25 kB / 1.346 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.3853, allocations: 1.678 MB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.3909, allocations: 1.564 MB / 1.349 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.3931, allocations: 0.6705 MB / 1.349 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.3968, allocations: 2.283 MB / 1.352 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.3988, allocations: 1.16 MB / 1.353 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.4012, allocations: 1.192 MB / 1.354 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.4034, allocations: 0.9921 MB / 1.355 GB, free: 4.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.4036, allocations: 139.9 kB / 1.355 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.4056, allocations: 0.7447 MB / 1.356 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.4063, allocations: 0.5685 MB / 1.356 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4073, allocations: 0.7114 MB / 1.357 GB, free: 2.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/0.4114, allocations: 2.58 MB / 1.36 GB, free: 15.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4114, allocations: 0 / 1.36 GB, free: 15.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4114, allocations: 4 kB / 1.36 GB, free: 15.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.464e-05/0.4114, allocations: 0 / 1.36 GB, free: 15.68 MB / 1.061 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.003828/0.4153, allocations: 1.993 MB / 1.361 GB, free: 13.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4153, allocations: 8.031 kB / 1.361 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.4267, allocations: 2.055 MB / 1.363 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.43, allocations: 1.122 MB / 1.365 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/0.4301, allocations: 82.69 kB / 1.365 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.4304, allocations: 120.1 kB / 1.365 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/0.4367, allocations: 2.697 MB / 1.367 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.4367, allocations: 11.89 kB / 1.367 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.4369, allocations: 51.98 kB / 1.367 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003886/0.4373, allocations: 130.1 kB / 1.368 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/0.4447, allocations: 2.545 MB / 1.37 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.4588, allocations: 7.461 MB / 1.377 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.4649, allocations: 1.851 MB / 1.379 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/0.4676, allocations: 0.9464 MB / 1.38 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.4677, allocations: 12.44 kB / 1.38 GB, free: 10.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.4677, allocations: 42.98 kB / 1.38 GB, free: 10.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.587e-06/0.4677, allocations: 0 / 1.38 GB, free: 10.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03241/0.5001, allocations: 9.102 MB / 1.389 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.5002, allocations: 64 kB / 1.389 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.5019, allocations: 0.9631 MB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.5021, allocations: 41.7 kB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000699/0.5028, allocations: 0.7619 MB / 1.391 GB, free: 15.06 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/0.5031, allocations: 289.5 kB / 1.391 GB, free: 14.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.5036, allocations: 206.5 kB / 1.391 GB, free: 14.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5038, allocations: 341.9 kB / 1.392 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.5067, allocations: 1.087 MB / 1.393 GB, free: 13.14 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/0.5098, allocations: 1.321 MB / 1.394 GB, free: 11.72 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/0.5159, allocations: 2.397 MB / 1.396 GB, free: 9.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.5159, allocations: 0 / 1.396 GB, free: 9.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009079/0.525, allocations: 3.281 MB / 1.4 GB, free: 5.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.525, allocations: 8 kB / 1.4 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.525, allocations: 8 kB / 1.4 GB, free: 5.895 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/0.5283, allocations: 0.8582 MB / 1.4 GB, free: 5.012 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.5303, allocations: 415.2 kB / 1.401 GB, free: 4.605 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.5489, allocations: 15.02 MB / 1.415 GB, free: 4.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.5512, allocations: 295.5 kB / 1.416 GB, free: 4.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.5514, allocations: 47.97 kB / 1.416 GB, free: 4.434 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 (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.0008435/0.5522, allocations: 409.4 kB / 1.416 GB, free: 4.023 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.5525, allocations: 135.2 kB / 1.416 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/0.5615, allocations: 3.204 MB / 1.419 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.5615, allocations: 8 kB / 1.419 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.5615, allocations: 8 kB / 1.419 GB, free: 0.625 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5615, allocations: 3.984 kB / 1.419 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.5734, allocations: 4.53 MB / 1.424 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.5734, allocations: 4.141 kB / 1.424 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.575, allocations: 363.7 kB / 1.424 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/0.578, allocations: 0.7641 MB / 1.425 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.5781, allocations: 39.95 kB / 1.425 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.5954, allocations: 14.63 MB / 1.439 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5954, allocations: 0 / 1.439 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/0.6041, allocations: 3.055 MB / 1.442 GB, free: 8.219 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.6052, allocations: 302.9 kB / 1.443 GB, free: 7.922 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.6054, allocations: 15.98 kB / 1.443 GB, free: 7.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.6072, allocations: 299.5 kB / 1.443 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.6075, allocations: 80.45 kB / 1.443 GB, free: 7.535 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.6076, allocations: 43.89 kB / 1.443 GB, free: 7.492 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009428/0.6086, allocations: 0.6346 MB / 1.444 GB, free: 6.852 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6086, allocations: 0 / 1.444 GB, free: 6.852 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001655/0.6102, allocations: 436 kB / 1.444 GB, free: 6.426 MB / 1.139 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.0002906/0.6105, allocations: 135.1 kB / 1.444 GB, free: 6.285 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00877/0.6193, allocations: 3.551 MB / 1.448 GB, free: 2.637 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6193, allocations: 7.875 kB / 1.448 GB, free: 2.629 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/0.6245, allocations: 2.336 MB / 1.45 GB, free: 196 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.6268, allocations: 477.8 kB / 1.45 GB, free: 15.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009297/0.6361, allocations: 3.786 MB / 1.454 GB, free: 11.9 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/0.6371, allocations: 0.8093 MB / 1.455 GB, free: 11.05 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001401/0.6385, allocations: 362.6 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.6388, allocations: 99.31 kB / 1.455 GB, free: 10.59 MB / 1.154 GB Notification: Performance of SimCode: time 9.32e-07/0.6388, allocations: 0 / 1.455 GB, free: 10.59 MB / 1.154 GB Notification: Performance of Templates: time 0.05477/0.6936, allocations: 33.73 MB / 1.488 GB, free: 9.488 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.1851573909953]