Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001391/0.001391, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001507/0.001507, allocations: 216 kB / 22.99 MB, free: 4.945 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.673/2.673, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00211/0.00211, allocations: 66.06 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 169.9 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007646/0.36, allocations: 5.291 MB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.3647, allocations: 2.607 MB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.3651, allocations: 31.69 kB / 1.292 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.367, allocations: 0.676 MB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.368, allocations: 421.8 kB / 1.293 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.369, allocations: 391.1 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3702, allocations: 0.9632 MB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.3708, allocations: 378.4 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.3713, allocations: 390.6 kB / 1.295 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.3719, allocations: 410.3 kB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.518e-05/0.372, allocations: 48 kB / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.3727, allocations: 327.3 kB / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.373, allocations: 251.2 kB / 1.296 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.3733, allocations: 290.6 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.3745, allocations: 0.9806 MB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3745, allocations: 0 / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3745, allocations: 4 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3745, allocations: 4 kB / 1.297 GB, free: 14.51 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001653/0.3762, allocations: 0.9169 MB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3762, allocations: 8.031 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.3775, allocations: 196.3 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/0.3784, allocations: 455.6 kB / 1.298 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.3785, allocations: 45.3 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3786, allocations: 48.56 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3799, allocations: 0.9864 MB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.38, allocations: 11.89 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.38, allocations: 27.97 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.3802, allocations: 68.95 kB / 1.3 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.3811, allocations: 0.5619 MB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.3854, allocations: 3.48 MB / 1.303 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3859, allocations: 279.2 kB / 1.304 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.3862, allocations: 209.3 kB / 1.304 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3862, allocations: 8.266 kB / 1.304 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3863, allocations: 34.84 kB / 1.304 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.3863, allocations: 0 / 1.304 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005502/0.3918, allocations: 2.335 MB / 1.306 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3918, allocations: 55.41 kB / 1.306 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.3923, allocations: 425.7 kB / 1.307 GB, free: 4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.3923, allocations: 33.7 kB / 1.307 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3926, allocations: 360.4 kB / 1.307 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3927, allocations: 146.8 kB / 1.307 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3929, allocations: 110.2 kB / 1.307 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3931, allocations: 362.7 kB / 1.308 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3934, allocations: 237.2 kB / 1.308 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.394, allocations: 411.3 kB / 1.308 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.3949, allocations: 0.6778 MB / 1.309 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3949, allocations: 3.938 kB / 1.309 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001702/0.3966, allocations: 0.9138 MB / 1.31 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3966, allocations: 4 kB / 1.31 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3966, allocations: 8 kB / 1.31 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/0.3974, allocations: 230.4 kB / 1.31 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.3979, allocations: 111.9 kB / 1.31 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.4034, allocations: 4.941 MB / 1.315 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.4038, allocations: 31.97 kB / 1.315 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.4039, allocations: 20 kB / 1.315 GB, free: 10.92 MB / 1.014 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.0003516/0.4042, allocations: 217.7 kB / 1.315 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.4043, allocations: 59.73 kB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4058, allocations: 0.7576 MB / 1.316 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4058, allocations: 4 kB / 1.316 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4059, allocations: 4 kB / 1.316 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4059, allocations: 7.922 kB / 1.316 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.4083, allocations: 1.323 MB / 1.317 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4083, allocations: 8.031 kB / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.4087, allocations: 67.83 kB / 1.317 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/0.4094, allocations: 218.5 kB / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.4094, allocations: 16 kB / 1.318 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.4146, allocations: 4.867 MB / 1.322 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4146, allocations: 4.031 kB / 1.322 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.4165, allocations: 1.124 MB / 1.324 GB, free: 1.797 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.4168, allocations: 91.7 kB / 1.324 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.4169, allocations: 12 kB / 1.324 GB, free: 1.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.4172, allocations: 27.97 kB / 1.324 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.4173, allocations: 35.88 kB / 1.324 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.4173, allocations: 16 kB / 1.324 GB, free: 1.617 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003548/0.4176, allocations: 287.1 kB / 1.324 GB, free: 1.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4176, allocations: 0 / 1.324 GB, free: 1.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000757/0.4184, allocations: 168 kB / 1.324 GB, free: 1.176 MB / 1.014 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.0001959/0.4186, allocations: 111.2 kB / 1.324 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.4203, allocations: 0.961 MB / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4203, allocations: 0 / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.4213, allocations: 0.6799 MB / 1.326 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.4221, allocations: 164.3 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.4243, allocations: 1.336 MB / 1.327 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4247, allocations: 350 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4248, allocations: 35.44 kB / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/0.4248, allocations: 0 / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Templates: time 0.0199/0.4447, allocations: 14.89 MB / 1.342 GB, free: 14.54 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.185429110657424]