Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.002167/0.002167, allocations: 107 kB / 16.45 MB, free: 6.02 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.002982/0.002982, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.195/3.195, allocations: 0.4899 GB / 0.7915 GB, free: 33.14 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [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.002086/0.002086, allocations: 75.39 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007962/0.4134, allocations: 5.56 MB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.4185, allocations: 2.693 MB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.419, allocations: 35.69 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.421, allocations: 0.6817 MB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.4221, allocations: 421.7 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4232, allocations: 397.3 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.4245, allocations: 0.9552 MB / 1.332 GB, free: 8.078 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.4251, allocations: 366.6 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000601/0.4257, allocations: 394.6 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.4262, allocations: 430.3 kB / 1.333 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.4263, allocations: 48 kB / 1.333 GB, free: 6.859 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/0.4271, allocations: 371.2 kB / 1.333 GB, free: 6.496 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.4273, allocations: 259.2 kB / 1.333 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.4277, allocations: 342.2 kB / 1.334 GB, free: 5.906 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4289, allocations: 0.9767 MB / 1.335 GB, free: 4.926 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4289, allocations: 0 / 1.335 GB, free: 4.926 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4289, allocations: 4 kB / 1.335 GB, free: 4.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.4289, allocations: 0 / 1.335 GB, free: 4.922 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00181/0.4307, allocations: 0.9883 MB / 1.336 GB, free: 3.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4308, allocations: 11.98 kB / 1.336 GB, free: 3.871 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.4322, allocations: 212.2 kB / 1.336 GB, free: 3.664 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.4331, allocations: 0.5067 MB / 1.336 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.4331, allocations: 37.36 kB / 1.336 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.4333, allocations: 68.44 kB / 1.337 GB, free: 3.016 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4346, allocations: 0.824 MB / 1.337 GB, free: 2.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.4346, allocations: 15.92 kB / 1.337 GB, free: 2.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.4347, allocations: 23.98 kB / 1.337 GB, free: 2.074 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.4349, allocations: 64.95 kB / 1.337 GB, free: 2.012 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.4359, allocations: 0.5658 MB / 1.338 GB, free: 1.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.4408, allocations: 4.574 MB / 1.342 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.4413, allocations: 283.2 kB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.4416, allocations: 205.3 kB / 1.343 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4417, allocations: 4.281 kB / 1.343 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.4417, allocations: 38.84 kB / 1.343 GB, free: 11.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.4417, allocations: 0 / 1.343 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.006118/0.4478, allocations: 2.635 MB / 1.346 GB, free: 9.215 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.4479, allocations: 59.39 kB / 1.346 GB, free: 9.145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.4484, allocations: 461.9 kB / 1.346 GB, free: 8.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.4485, allocations: 33.7 kB / 1.346 GB, free: 8.641 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.4488, allocations: 352.5 kB / 1.346 GB, free: 8.293 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4489, allocations: 142.8 kB / 1.347 GB, free: 8.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.4491, allocations: 110.2 kB / 1.347 GB, free: 8.039 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4493, allocations: 366.8 kB / 1.347 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.4497, allocations: 240.9 kB / 1.347 GB, free: 7.438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.4502, allocations: 410.4 kB / 1.348 GB, free: 6.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.4512, allocations: 0.674 MB / 1.348 GB, free: 6.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4512, allocations: 0 / 1.348 GB, free: 6.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001821/0.453, allocations: 0.91 MB / 1.349 GB, free: 5.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4531, allocations: 8 kB / 1.349 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4531, allocations: 4 kB / 1.349 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008816/0.4539, allocations: 230.6 kB / 1.349 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.4545, allocations: 115.8 kB / 1.35 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.4605, allocations: 5.344 MB / 1.355 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.4611, allocations: 31.97 kB / 1.355 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4611, allocations: 23.94 kB / 1.355 GB, free: 15.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003759/0.4615, allocations: 225.7 kB / 1.355 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4617, allocations: 67.5 kB / 1.355 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.4634, allocations: 0.7581 MB / 1.356 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4634, allocations: 4 kB / 1.356 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4634, allocations: 4 kB / 1.356 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4634, allocations: 3.984 kB / 1.356 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.4662, allocations: 1.486 MB / 1.357 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4662, allocations: 8.031 kB / 1.357 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.4666, allocations: 63.89 kB / 1.357 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007481/0.4673, allocations: 206.4 kB / 1.358 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.4674, allocations: 12 kB / 1.358 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.4731, allocations: 5.274 MB / 1.363 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4731, allocations: 144 / 1.363 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.4751, allocations: 1.139 MB / 1.364 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.4754, allocations: 172.8 kB / 1.364 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4755, allocations: 11.94 kB / 1.364 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4759, allocations: 27.97 kB / 1.364 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.476, allocations: 35.89 kB / 1.364 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.4761, allocations: 16 kB / 1.364 GB, free: 5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004417/0.4765, allocations: 310.9 kB / 1.364 GB, free: 4.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4765, allocations: 0 / 1.364 GB, free: 4.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008471/0.4773, allocations: 172 kB / 1.365 GB, free: 4.531 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.4775, allocations: 107.2 kB / 1.365 GB, free: 4.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.4793, allocations: 0.9729 MB / 1.366 GB, free: 3.402 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4793, allocations: 7.938 kB / 1.366 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.4804, allocations: 0.6656 MB / 1.366 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.4813, allocations: 179.4 kB / 1.366 GB, free: 2.523 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.4836, allocations: 1.256 MB / 1.368 GB, free: 1.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.4843, allocations: 0.9571 MB / 1.369 GB, free: 240 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003546/0.4846, allocations: 113 kB / 1.369 GB, free: 128 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4847, allocations: 39.44 kB / 1.369 GB, free: 88 kB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.4847, allocations: 0 / 1.369 GB, free: 88 kB / 1.061 GB Notification: Performance of Templates: time 0.01789/0.5026, allocations: 9.082 MB / 1.378 GB, free: 7.125 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.54134831391275]