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.001581/0.001581, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001751/0.001751, allocations: 208.8 kB / 23.03 MB, free: 4.863 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002152/0.002152, allocations: 63.38 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3894, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007838/0.3972, allocations: 5.271 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004815/0.402, allocations: 2.611 MB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.4025, allocations: 31.75 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.4044, allocations: 0.6916 MB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.4054, allocations: 417.8 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4065, allocations: 399.1 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4076, allocations: 0.9516 MB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.4082, allocations: 378.5 kB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.4087, allocations: 390.6 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.4093, allocations: 398.3 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.4094, allocations: 48 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.41, allocations: 335.2 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.4103, allocations: 259.2 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.4106, allocations: 286.7 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.4117, allocations: 0.9806 MB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4118, allocations: 0 / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4118, allocations: 4 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.4118, allocations: 0 / 1.34 GB, free: 3.531 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.001605/0.4134, allocations: 0.9131 MB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4134, allocations: 12.03 kB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.4148, allocations: 204.2 kB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/0.4156, allocations: 451.7 kB / 1.342 GB, free: 1.914 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.4156, allocations: 41.36 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.4158, allocations: 56.55 kB / 1.342 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4171, allocations: 0.9863 MB / 1.343 GB, free: 0.707 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.4171, allocations: 3.953 kB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.4172, allocations: 23.98 kB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.4173, allocations: 68.89 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/0.4183, allocations: 0.5736 MB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004087/0.4223, allocations: 3.488 MB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.4228, allocations: 271.3 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.4231, allocations: 217.2 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4232, allocations: 8.266 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4232, allocations: 38.84 kB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.4232, allocations: 0 / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005407/0.4286, allocations: 2.334 MB / 1.35 GB, free: 9.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.4287, allocations: 59.41 kB / 1.35 GB, free: 9.422 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.4291, allocations: 429.7 kB / 1.35 GB, free: 9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.4292, allocations: 33.7 kB / 1.35 GB, free: 8.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.4295, allocations: 356.4 kB / 1.351 GB, free: 8.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4296, allocations: 154.7 kB / 1.351 GB, free: 8.453 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4298, allocations: 102.3 kB / 1.351 GB, free: 8.348 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.43, allocations: 366.7 kB / 1.351 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.4303, allocations: 229.2 kB / 1.351 GB, free: 7.758 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.4309, allocations: 411.3 kB / 1.352 GB, free: 7.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.4318, allocations: 0.6779 MB / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4318, allocations: 4 kB / 1.352 GB, free: 6.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001648/0.4334, allocations: 0.9134 MB / 1.353 GB, free: 5.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4334, allocations: 8 kB / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4334, allocations: 8 kB / 1.353 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/0.4342, allocations: 222.9 kB / 1.353 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.4347, allocations: 119.8 kB / 1.354 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.44, allocations: 4.938 MB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.4405, allocations: 31.92 kB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4406, allocations: 20 kB / 1.358 GB, free: 15.93 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.0003486/0.4409, allocations: 226.3 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.441, allocations: 55.67 kB / 1.359 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4425, allocations: 0.7617 MB / 1.359 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4425, allocations: 4 kB / 1.359 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4425, allocations: 3.938 kB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4425, allocations: 3.938 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.4449, allocations: 1.323 MB / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4449, allocations: 4 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.4452, allocations: 67.88 kB / 1.361 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/0.4459, allocations: 210.5 kB / 1.361 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.4459, allocations: 8 kB / 1.361 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/0.4509, allocations: 4.879 MB / 1.366 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4509, allocations: 0 / 1.366 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.4528, allocations: 1.135 MB / 1.367 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.453, allocations: 91.66 kB / 1.367 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.4531, allocations: 8 kB / 1.367 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.4534, allocations: 27.97 kB / 1.367 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.4535, allocations: 35.92 kB / 1.367 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.4535, allocations: 16 kB / 1.367 GB, free: 6.629 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003338/0.4538, allocations: 279.1 kB / 1.367 GB, free: 6.359 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4538, allocations: 0 / 1.367 GB, free: 6.359 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007133/0.4545, allocations: 175.9 kB / 1.368 GB, free: 6.188 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.0001642/0.4547, allocations: 107.3 kB / 1.368 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.4563, allocations: 0.9807 MB / 1.369 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4564, allocations: 0 / 1.369 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.4573, allocations: 0.6642 MB / 1.369 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.4582, allocations: 182.4 kB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.4604, allocations: 1.319 MB / 1.371 GB, free: 2.805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4608, allocations: 354 kB / 1.371 GB, free: 2.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4609, allocations: 39.44 kB / 1.371 GB, free: 2.395 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/0.4609, allocations: 0 / 1.371 GB, free: 2.395 MB / 1.061 GB Notification: Performance of Templates: time 0.01959/0.4805, allocations: 14.88 MB / 1.386 GB, free: 3.551 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins1/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: 13.875707551836967]