Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001801/0.001801, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.002324/0.002324, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.29/3.29, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.0021/0.0021, allocations: 72.19 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3813, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01054/0.3918, allocations: 6.487 MB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006396/0.3982, allocations: 3.044 MB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.3991, allocations: 35.69 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.4021, allocations: 0.9552 MB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.4039, allocations: 0.5168 MB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.4053, allocations: 436.2 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4072, allocations: 1.225 MB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.4081, allocations: 0.5333 MB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.409, allocations: 494.3 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.4098, allocations: 0.5097 MB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.4099, allocations: 64 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.4107, allocations: 343.3 kB / 1.341 GB, free: 3.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.411, allocations: 315 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.4114, allocations: 378.3 kB / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.413, allocations: 1.226 MB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.413, allocations: 4 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.492e-06/0.413, allocations: 0 / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.413, allocations: 3.938 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002096/0.4151, allocations: 1.112 MB / 1.344 GB, free: 116 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4152, allocations: 8.031 kB / 1.344 GB, free: 108 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4167, allocations: 240.1 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4178, allocations: 0.5191 MB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.4178, allocations: 57.61 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.418, allocations: 64.34 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.4198, allocations: 1.336 MB / 1.346 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.4198, allocations: 11.94 kB / 1.346 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.4199, allocations: 27.98 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.42, allocations: 85.25 kB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.4212, allocations: 0.7504 MB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.4267, allocations: 4.538 MB / 1.351 GB, free: 8.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4277, allocations: 0.5124 MB / 1.351 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.4281, allocations: 282 kB / 1.352 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.4282, allocations: 8.438 kB / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4282, allocations: 39 kB / 1.352 GB, free: 7.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.4282, allocations: 4 kB / 1.352 GB, free: 7.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003916/0.4321, allocations: 1.679 MB / 1.353 GB, free: 5.578 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.4322, allocations: 55.84 kB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.4329, allocations: 0.5066 MB / 1.354 GB, free: 4.992 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.4329, allocations: 33.7 kB / 1.354 GB, free: 4.953 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.4332, allocations: 423.9 kB / 1.354 GB, free: 4.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.4334, allocations: 182.5 kB / 1.355 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.4336, allocations: 126.6 kB / 1.355 GB, free: 4.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4338, allocations: 370.7 kB / 1.355 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.4343, allocations: 273.8 kB / 1.355 GB, free: 3.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.4349, allocations: 0.4897 MB / 1.356 GB, free: 3.004 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4361, allocations: 0.8122 MB / 1.357 GB, free: 2.098 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4361, allocations: 0 / 1.357 GB, free: 2.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001961/0.438, allocations: 1.074 MB / 1.358 GB, free: 1 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.438, allocations: 11.94 kB / 1.358 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4381, allocations: 8 kB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008786/0.4389, allocations: 271.4 kB / 1.358 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.4394, allocations: 127.8 kB / 1.358 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.4466, allocations: 6.602 MB / 1.364 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.4472, allocations: 39.97 kB / 1.365 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.4473, allocations: 31.94 kB / 1.365 GB, free: 9.488 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0004333/0.4477, allocations: 249.7 kB / 1.365 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.4478, allocations: 71.58 kB / 1.365 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.4495, allocations: 0.8762 MB / 1.366 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4495, allocations: 4 kB / 1.366 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4495, allocations: 4 kB / 1.366 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4495, allocations: 3.984 kB / 1.366 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.4522, allocations: 1.525 MB / 1.367 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4522, allocations: 0 / 1.367 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4525, allocations: 63.89 kB / 1.367 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/0.4532, allocations: 263.4 kB / 1.368 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.4532, allocations: 12 kB / 1.368 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.4602, allocations: 6.594 MB / 1.374 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4602, allocations: 0 / 1.374 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.462, allocations: 0.9763 MB / 1.375 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.4623, allocations: 107.5 kB / 1.375 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.4624, allocations: 19.92 kB / 1.375 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4628, allocations: 23.97 kB / 1.375 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4629, allocations: 43.98 kB / 1.375 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.4629, allocations: 20 kB / 1.375 GB, free: 14.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004388/0.4634, allocations: 342.8 kB / 1.375 GB, free: 13.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4634, allocations: 0 / 1.375 GB, free: 13.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008644/0.4642, allocations: 227.9 kB / 1.376 GB, free: 13.52 MB / 1.076 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.4644, allocations: 115.1 kB / 1.376 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.4665, allocations: 1.232 MB / 1.377 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4665, allocations: 4 kB / 1.377 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.4679, allocations: 0.8581 MB / 1.378 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.4689, allocations: 206.9 kB / 1.378 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.4714, allocations: 1.412 MB / 1.379 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.4719, allocations: 415.3 kB / 1.38 GB, free: 9.109 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.472, allocations: 43.44 kB / 1.38 GB, free: 9.066 MB / 1.076 GB Notification: Performance of SimCode: time 7.71e-07/0.472, allocations: 0 / 1.38 GB, free: 9.066 MB / 1.076 GB Notification: Performance of Templates: time 0.02881/0.5009, allocations: 20.7 MB / 1.4 GB, free: 4.402 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 14.632234411779791]